Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001433/0.001433, allocations: 116.2 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001686/0.001686, allocations: 206.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 55.91 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3323, allocations: 50.54 MB / 409.9 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.002918/0.3352, allocations: 1.695 MB / 411.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004395/0.3357, allocations: 171.4 kB / 411.8 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.405e-05/0.3358, allocations: 0 / 411.8 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.986e-05/0.3358, allocations: 7.875 kB / 411.8 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.336, allocations: 11.92 kB / 411.8 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.3362, allocations: 51.33 kB / 411.9 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.3363, allocations: 47.91 kB / 411.9 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.3365, allocations: 31.97 kB / 412 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.532e-05/0.3365, allocations: 23.88 kB / 412 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.465e-05/0.3366, allocations: 27.84 kB / 412 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.3366, allocations: 4 kB / 412 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.353e-05/0.3366, allocations: 8 kB / 412 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.833e-05/0.3367, allocations: 15.92 kB / 412 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.964e-05/0.3367, allocations: 31.73 kB / 412.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.3369, allocations: 71.67 kB / 412.1 MB, free: 15.35 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.3369, allocations: 7.984 kB / 412.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.3369, allocations: 4 kB / 412.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.3369, allocations: 0 / 412.1 MB, free: 15.34 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004918/0.3374, allocations: 380.3 kB / 412.5 MB, free: 14.92 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.3374, allocations: 12.03 kB / 412.5 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.3375, allocations: 16.73 kB / 412.5 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.3378, allocations: 192.2 kB / 412.7 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.3378, allocations: 4.312 kB / 412.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.3378, allocations: 12.38 kB / 412.7 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003312/0.3381, allocations: 162.4 kB / 412.9 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.3382, allocations: 192 / 412.9 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.3382, allocations: 7.875 kB / 412.9 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.3382, allocations: 8 kB / 412.9 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.3383, allocations: 35.91 kB / 413 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.3387, allocations: 365.8 kB / 413.3 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002483/0.339, allocations: 127.8 kB / 413.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.615e-05/0.3391, allocations: 54.61 kB / 413.5 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.3391, allocations: 4 kB / 413.5 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.3392, allocations: 34.56 kB / 413.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.3392, allocations: 0 / 413.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003409/0.3395, allocations: 121.4 kB / 413.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.3396, allocations: 110.8 kB / 413.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.3397, allocations: 133.8 kB / 413.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.3397, allocations: 25.7 kB / 413.9 MB, free: 13.31 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.895e-05/0.3398, allocations: 104.2 kB / 414 MB, free: 13.21 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.3398, allocations: 8.141 kB / 414 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-05/0.3399, allocations: 25.62 kB / 414 MB, free: 13.17 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.34, allocations: 318.8 kB / 414.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.098e-05/0.34, allocations: 15.98 kB / 414.4 MB, free: 12.83 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.076e-05/0.3401, allocations: 75.66 kB / 414.4 MB, free: 12.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.3403, allocations: 91.59 kB / 414.5 MB, free: 12.61 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.3403, allocations: 7.938 kB / 414.5 MB, free: 12.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001754/0.3405, allocations: 109.6 kB / 414.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.3405, allocations: 12 kB / 414.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3405, allocations: 0 / 414.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.3405, allocations: 4 kB / 414.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.624e-05/0.3406, allocations: 16 kB / 414.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.3406, allocations: 8.297 kB / 414.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.954e-05/0.3407, allocations: 8 kB / 414.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.3407, allocations: 4 kB / 414.7 MB, free: 12.44 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.3408, allocations: 133.7 kB / 414.8 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.913e-05/0.3409, allocations: 11.91 kB / 414.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.785e-05/0.3409, allocations: 16.7 kB / 414.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3409, allocations: 0 / 414.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3409, allocations: 0 / 414.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.226e-05/0.341, allocations: 100.9 kB / 415 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.341, allocations: 4.188 kB / 415 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.3411, allocations: 7.984 kB / 415 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.169e-05/0.3412, allocations: 7.875 kB / 415 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002869/0.3415, allocations: 335.4 kB / 415.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003953/0.3419, allocations: 462 kB / 415.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.935e-05/0.342, allocations: 35.95 kB / 415.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.73e-05/0.342, allocations: 109.1 kB / 415.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of Backend: time 3.21e-07/0.3421, allocations: 0 / 415.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005417/0.3426, allocations: 110.8 kB / 416 MB, free: 11.07 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006709/0.3433, allocations: 0.6313 MB / 416.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of Templates: time 0.003039/0.3463, allocations: 0.7085 MB / 417.3 MB, free: 9.688 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1)