Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 118.7 kB / 17.28 MB, free: 6.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 185.3 kB / 18.2 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.537/1.537, allocations: 205.1 MB / 224.1 MB, free: 12.45 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 51.92 kB / 280.1 MB, free: 3.504 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08949/0.09059, allocations: 46.63 MB / 326.8 MB, free: 4.812 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004751/0.0954, allocations: 3.025 MB / 329.8 MB, free: 1.762 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002086/0.09751, allocations: 1.174 MB / 331 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001688/0.0977, allocations: 7.938 kB / 331 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000556/0.09829, allocations: 151.4 kB / 331.1 MB, free: 432 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004107/0.09871, allocations: 163.1 kB / 331.3 MB, free: 268 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003564/0.09908, allocations: 123.8 kB / 331.4 MB, free: 144 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004777/0.09957, allocations: 438.2 kB / 331.8 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001983/0.09977, allocations: 103.4 kB / 331.9 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002022/0.09998, allocations: 183.2 kB / 332.1 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002318/0.1002, allocations: 191.2 kB / 332.3 MB, free: 15.25 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.733e-05/0.1003, allocations: 35.94 kB / 332.3 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.1004, allocations: 71.92 kB / 332.4 MB, free: 15.14 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.1005, allocations: 83.67 kB / 332.5 MB, free: 15.06 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.1007, allocations: 187 kB / 332.7 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004664/0.1012, allocations: 454.7 kB / 333.1 MB, free: 14.43 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1012, allocations: 0 / 333.1 MB, free: 14.43 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.1012, allocations: 0 / 333.1 MB, free: 14.43 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.1012, allocations: 3.938 kB / 333.1 MB, free: 14.43 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001087/0.1023, allocations: 0.6945 MB / 333.8 MB, free: 13.68 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.1023, allocations: 8.031 kB / 333.8 MB, free: 13.67 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.779e-05/0.1024, allocations: 44.47 kB / 333.9 MB, free: 13.62 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003977/0.1028, allocations: 320.5 kB / 334.2 MB, free: 13.27 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.1029, allocations: 16.94 kB / 334.2 MB, free: 13.26 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.865e-05/0.103, allocations: 32.03 kB / 334.2 MB, free: 13.23 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005/0.1035, allocations: 295.1 kB / 334.5 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.1035, allocations: 3.938 kB / 334.5 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/0.1035, allocations: 12 kB / 334.5 MB, free: 12.9 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.1035, allocations: 4 kB / 334.5 MB, free: 12.89 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003156/0.1039, allocations: 178.1 kB / 334.7 MB, free: 12.72 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.1051, allocations: 0.8521 MB / 335.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005331/0.1057, allocations: 255.4 kB / 335.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.1058, allocations: 97.39 kB / 335.9 MB, free: 11.45 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.1059, allocations: 8.266 kB / 335.9 MB, free: 11.44 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003792/0.1063, allocations: 161 kB / 336.1 MB, free: 11.27 MB / 286.1 MB Notification: Performance of pre-optimization done (n=34): time 1.583e-06/0.1063, allocations: 0 / 336.1 MB, free: 11.27 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.002205/0.1085, allocations: 1.327 MB / 337.4 MB, free: 9.836 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.1086, allocations: 191.9 kB / 337.6 MB, free: 9.605 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003585/0.109, allocations: 348.5 kB / 337.9 MB, free: 9.254 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.109, allocations: 33.7 kB / 338 MB, free: 9.215 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.1092, allocations: 192.5 kB / 338.1 MB, free: 9.023 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.1093, allocations: 134.1 kB / 338.3 MB, free: 8.891 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.1094, allocations: 82.05 kB / 338.4 MB, free: 8.805 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1096, allocations: 354.7 kB / 338.7 MB, free: 8.449 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.1097, allocations: 92.77 kB / 338.8 MB, free: 8.359 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/0.11, allocations: 181.3 kB / 339 MB, free: 8.145 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004417/0.1104, allocations: 246.2 kB / 339.2 MB, free: 7.891 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.1105, allocations: 3.984 kB / 339.2 MB, free: 7.887 MB / 286.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005255/0.111, allocations: 354.2 kB / 339.6 MB, free: 7.531 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.111, allocations: 8.125 kB / 339.6 MB, free: 7.523 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.111, allocations: 4 kB / 339.6 MB, free: 7.52 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.854e-05/0.1111, allocations: 24.78 kB / 339.6 MB, free: 7.492 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003347/0.1115, allocations: 91.89 kB / 339.7 MB, free: 7.402 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/0.1126, allocations: 1.39 MB / 341.1 MB, free: 5.875 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.1128, allocations: 15.94 kB / 341.1 MB, free: 5.859 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.1128, allocations: 12.09 kB / 341.1 MB, free: 5.848 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001848/0.113, allocations: 173.7 kB / 341.3 MB, free: 5.668 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.682e-05/0.1131, allocations: 43.53 kB / 341.3 MB, free: 5.625 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.223e-05/0.1132, allocations: 43.95 kB / 341.4 MB, free: 5.578 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.1132, allocations: 4 kB / 341.4 MB, free: 5.574 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1132, allocations: 3.938 kB / 341.4 MB, free: 5.57 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000611/0.1138, allocations: 0.6609 MB / 342 MB, free: 4.805 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.1149, allocations: 0.8447 MB / 342.9 MB, free: 3.891 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1149, allocations: 0 / 342.9 MB, free: 3.891 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003141/0.1152, allocations: 75.91 kB / 342.9 MB, free: 3.816 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1153, allocations: 4 kB / 343 MB, free: 3.812 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.1153, allocations: 16.11 kB / 343 MB, free: 3.797 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1153, allocations: 0 / 343 MB, free: 3.797 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.1153, allocations: 8 kB / 343 MB, free: 3.789 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007292/0.116, allocations: 0.5534 MB / 343.5 MB, free: 3.207 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.1162, allocations: 128.8 kB / 343.7 MB, free: 3.062 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.064e-05/0.1162, allocations: 15.98 kB / 343.7 MB, free: 3.047 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.1165, allocations: 12 kB / 343.7 MB, free: 3.035 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.974e-05/0.1165, allocations: 23.97 kB / 343.7 MB, free: 3.012 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.858e-05/0.1166, allocations: 15.98 kB / 343.7 MB, free: 2.996 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002301/0.1168, allocations: 259 kB / 344 MB, free: 2.746 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1168, allocations: 0 / 344 MB, free: 2.746 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003817/0.1172, allocations: 96.56 kB / 344.1 MB, free: 2.652 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (cylinder1.m,cylinder1.H,cylinder2.H,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009565/0.1182, allocations: 430.3 kB / 344.5 MB, free: 2.238 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006988/0.1189, allocations: 382.2 kB / 344.9 MB, free: 1.852 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.1189, allocations: 0 / 344.9 MB, free: 1.852 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.1191, allocations: 136.2 kB / 345 MB, free: 1.719 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005588/0.1197, allocations: 109.2 kB / 345.1 MB, free: 1.613 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.1217, allocations: 1.163 MB / 346.3 MB, free: 416 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005189/0.1222, allocations: 0.8118 MB / 347.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001789/0.1224, allocations: 43.27 kB / 347.1 MB, free: 15.53 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.333e-05/0.1225, allocations: 39.42 kB / 347.2 MB, free: 15.49 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1225, allocations: 0 / 347.2 MB, free: 15.49 MB / 302.1 MB Notification: Performance of Templates: time 0.00999/0.1325, allocations: 5.21 MB / 352.4 MB, free: 10.27 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches