Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.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.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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001312/0.001312, allocations: 105.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001348/0.001348, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.4 MB / 246.8 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 68.61 kB / 307 MB, free: 0.5391 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1051, allocations: 50.53 MB / 357.5 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004739/0.1099, allocations: 3.029 MB / 360.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00249/0.1124, allocations: 1.402 MB / 361.9 MB, free: 9.547 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.1126, allocations: 7.938 kB / 362 MB, free: 9.539 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004701/0.1131, allocations: 155.1 kB / 362.1 MB, free: 9.387 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004888/0.1136, allocations: 210.7 kB / 362.3 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.1139, allocations: 139.6 kB / 362.5 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004987/0.1144, allocations: 430.2 kB / 362.9 MB, free: 8.621 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002125/0.1146, allocations: 115.6 kB / 363 MB, free: 8.504 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002135/0.1148, allocations: 171.3 kB / 363.2 MB, free: 8.336 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002694/0.1151, allocations: 183.2 kB / 363.3 MB, free: 8.156 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.31e-05/0.1152, allocations: 32 kB / 363.4 MB, free: 8.125 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.1153, allocations: 59.98 kB / 363.4 MB, free: 8.066 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.1155, allocations: 91.61 kB / 363.5 MB, free: 7.977 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001951/0.1157, allocations: 187 kB / 363.7 MB, free: 7.793 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004852/0.1162, allocations: 438.8 kB / 364.1 MB, free: 7.363 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.1162, allocations: 7.922 kB / 364.1 MB, free: 7.355 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1162, allocations: 0 / 364.1 MB, free: 7.355 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.618e-05/0.1162, allocations: 4 kB / 364.1 MB, free: 7.352 MB / 302.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.001097/0.1173, allocations: 0.679 MB / 364.8 MB, free: 6.625 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.1173, allocations: 8.031 kB / 364.8 MB, free: 6.617 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.203e-05/0.1174, allocations: 44.47 kB / 364.9 MB, free: 6.574 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004209/0.1179, allocations: 320.5 kB / 365.2 MB, free: 6.227 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.1179, allocations: 16.94 kB / 365.2 MB, free: 6.207 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.944e-05/0.118, allocations: 36.03 kB / 365.2 MB, free: 6.172 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000506/0.1185, allocations: 295.1 kB / 365.5 MB, free: 5.859 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.1185, allocations: 0 / 365.5 MB, free: 5.859 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.286e-05/0.1185, allocations: 12 kB / 365.5 MB, free: 5.848 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.1186, allocations: 8 kB / 365.5 MB, free: 5.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003592/0.1189, allocations: 178.1 kB / 365.7 MB, free: 5.668 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/0.1203, allocations: 0.8405 MB / 366.5 MB, free: 4.758 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005587/0.1209, allocations: 270.7 kB / 366.8 MB, free: 4.488 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.1211, allocations: 101.3 kB / 366.9 MB, free: 4.387 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.1211, allocations: 8.266 kB / 366.9 MB, free: 4.379 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000362/0.1215, allocations: 158.6 kB / 367.1 MB, free: 4.215 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 1.734e-06/0.1215, allocations: 8 kB / 367.1 MB, free: 4.207 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.002395/0.1239, allocations: 1.3 MB / 368.4 MB, free: 2.797 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.124, allocations: 191.9 kB / 368.6 MB, free: 2.566 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003688/0.1244, allocations: 332.5 kB / 368.9 MB, free: 2.234 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/0.1244, allocations: 41.64 kB / 368.9 MB, free: 2.188 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.1246, allocations: 180.6 kB / 369.1 MB, free: 2.004 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.1247, allocations: 145.9 kB / 369.3 MB, free: 1.859 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.1248, allocations: 74.12 kB / 369.3 MB, free: 1.781 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.125, allocations: 346.8 kB / 369.7 MB, free: 1.434 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.1252, allocations: 96.78 kB / 369.8 MB, free: 1.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/0.1254, allocations: 173.3 kB / 369.9 MB, free: 1.133 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004211/0.1259, allocations: 254.2 kB / 370.2 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1259, allocations: 0 / 370.2 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005833/0.1265, allocations: 354.5 kB / 370.5 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.1265, allocations: 4 kB / 370.5 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1265, allocations: 0 / 370.5 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.777e-05/0.1266, allocations: 28.97 kB / 370.6 MB, free: 492 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003486/0.127, allocations: 83.91 kB / 370.6 MB, free: 408 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1499/0.2769, allocations: 1.381 MB / 372 MB, free: 18.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/0.2772, allocations: 14.3 kB / 372 MB, free: 18.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.2772, allocations: 13.67 kB / 372 MB, free: 18.84 MB / 302.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.0001817/0.2774, allocations: 171.7 kB / 372.2 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.117e-05/0.2775, allocations: 39.94 kB / 372.3 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.011e-05/0.2775, allocations: 45.88 kB / 372.3 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.2775, allocations: 5.719 kB / 372.3 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.2776, allocations: 0.5156 kB / 372.3 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000528/0.2781, allocations: 0.658 MB / 373 MB, free: 18.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.2791, allocations: 0.8513 MB / 373.8 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.2791, allocations: 1.344 kB / 373.8 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003217/0.2795, allocations: 76.94 kB / 373.9 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.2795, allocations: 2.688 kB / 373.9 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.2795, allocations: 13.28 kB / 373.9 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.2795, allocations: 2.75 kB / 373.9 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.2795, allocations: 9.578 kB / 373.9 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006572/0.2802, allocations: 0.548 MB / 374.5 MB, free: 17.67 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.2803, allocations: 131.3 kB / 374.6 MB, free: 17.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.071e-05/0.2804, allocations: 15.83 kB / 374.6 MB, free: 17.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.2806, allocations: 13.3 kB / 374.6 MB, free: 17.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.199e-05/0.2807, allocations: 30.2 kB / 374.7 MB, free: 17.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.801e-05/0.2808, allocations: 17.3 kB / 374.7 MB, free: 17.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002307/0.281, allocations: 248.3 kB / 374.9 MB, free: 17.46 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.281, allocations: 0 / 374.9 MB, free: 17.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003969/0.2814, allocations: 91.7 kB / 375 MB, free: 17.45 MB / 302.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.001515/0.2829, allocations: 422.4 kB / 375.4 MB, free: 17.29 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007124/0.2837, allocations: 382.1 kB / 375.8 MB, free: 17.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.2837, allocations: 1.406 kB / 375.8 MB, free: 17.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002135/0.2839, allocations: 136.2 kB / 375.9 MB, free: 17.05 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005519/0.2845, allocations: 94.08 kB / 376 MB, free: 17.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.2859, allocations: 1.034 MB / 377 MB, free: 16.38 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/0.2861, allocations: 0.8031 MB / 377.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001728/0.2863, allocations: 50.81 kB / 377.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.704e-05/0.2863, allocations: 40.41 kB / 377.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2863, allocations: 0 / 377.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of Templates: time 0.0106/0.297, allocations: 5.274 MB / 383.2 MB, free: 15.15 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches