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.001708/0.001708, allocations: 116.4 kB / 17.33 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001913/0.001913, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.4 MB / 246.5 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 59.5 kB / 306.5 MB, free: 0.9141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09768/0.09944, allocations: 50.54 MB / 357 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.00459/0.1041, allocations: 3.057 MB / 360.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002268/0.1064, allocations: 1.395 MB / 361.5 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.1065, allocations: 4 kB / 361.5 MB, free: 9.891 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004658/0.107, allocations: 135.4 kB / 361.6 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004745/0.1075, allocations: 187 kB / 361.8 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.1078, allocations: 111.8 kB / 361.9 MB, free: 9.465 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005196/0.1083, allocations: 438.1 kB / 362.3 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/0.1085, allocations: 107.6 kB / 362.4 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002161/0.1088, allocations: 179.3 kB / 362.6 MB, free: 8.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002508/0.109, allocations: 191.1 kB / 362.8 MB, free: 8.562 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.85e-05/0.1091, allocations: 28 kB / 362.8 MB, free: 8.535 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.1092, allocations: 63.98 kB / 362.9 MB, free: 8.473 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.1093, allocations: 87.67 kB / 363 MB, free: 8.387 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001915/0.1095, allocations: 183 kB / 363.2 MB, free: 8.207 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004971/0.11, allocations: 446.7 kB / 363.6 MB, free: 7.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.11, allocations: 3.938 kB / 363.6 MB, free: 7.766 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.397e-06/0.11, allocations: 0 / 363.6 MB, free: 7.766 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.11, allocations: 3.938 kB / 363.6 MB, free: 7.762 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.001132/0.1112, allocations: 0.679 MB / 364.3 MB, free: 7.035 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.1112, allocations: 12.03 kB / 364.3 MB, free: 7.023 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.914e-05/0.1113, allocations: 40.47 kB / 364.3 MB, free: 6.984 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000408/0.1117, allocations: 316.5 kB / 364.6 MB, free: 6.641 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.167e-05/0.1118, allocations: 20.94 kB / 364.7 MB, free: 6.617 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.104e-05/0.1118, allocations: 32.03 kB / 364.7 MB, free: 6.586 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005291/0.1124, allocations: 299.1 kB / 365 MB, free: 6.273 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.1124, allocations: 4 kB / 365 MB, free: 6.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.277e-05/0.1125, allocations: 12 kB / 365 MB, free: 6.258 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.1125, allocations: 4 kB / 365 MB, free: 6.254 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003565/0.1128, allocations: 178.1 kB / 365.2 MB, free: 6.078 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.1142, allocations: 0.8405 MB / 366 MB, free: 5.168 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005907/0.1148, allocations: 263.4 kB / 366.3 MB, free: 4.902 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.115, allocations: 101.4 kB / 366.4 MB, free: 4.801 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.115, allocations: 4.281 kB / 366.4 MB, free: 4.797 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003772/0.1154, allocations: 166.6 kB / 366.5 MB, free: 4.625 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 2.164e-06/0.1154, allocations: 0 / 366.5 MB, free: 4.625 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.002471/0.1179, allocations: 1.308 MB / 367.9 MB, free: 3.207 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.1181, allocations: 187.9 kB / 368 MB, free: 2.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003919/0.1185, allocations: 340.4 kB / 368.4 MB, free: 2.641 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.719e-05/0.1185, allocations: 33.7 kB / 368.4 MB, free: 2.602 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.1187, allocations: 184.6 kB / 368.6 MB, free: 2.414 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.1188, allocations: 141.9 kB / 368.7 MB, free: 2.273 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.1189, allocations: 74.12 kB / 368.8 MB, free: 2.195 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.1191, allocations: 354.8 kB / 369.1 MB, free: 1.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.1193, allocations: 88.83 kB / 369.2 MB, free: 1.754 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002772/0.1196, allocations: 177.3 kB / 369.4 MB, free: 1.543 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004388/0.12, allocations: 250.2 kB / 369.6 MB, free: 1.285 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1201, allocations: 0 / 369.6 MB, free: 1.285 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005948/0.1207, allocations: 346.5 kB / 370 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.1207, allocations: 8 kB / 370 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.1207, allocations: 8.188 kB / 370 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.372e-05/0.1208, allocations: 24.78 kB / 370 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003585/0.1212, allocations: 91.89 kB / 370.1 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1477/0.2689, allocations: 1.379 MB / 371.5 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003105/0.2692, allocations: 13.27 kB / 371.5 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.784e-05/0.2693, allocations: 13.33 kB / 371.5 MB, free: 19.14 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.0002333/0.2695, allocations: 168.4 kB / 371.7 MB, free: 19.03 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.599e-05/0.2696, allocations: 43.67 kB / 371.7 MB, free: 19.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.8e-05/0.2697, allocations: 44.67 kB / 371.8 MB, free: 19.01 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.2697, allocations: 4.062 kB / 371.8 MB, free: 19.01 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2697, allocations: 1.25 kB / 371.8 MB, free: 19.01 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000572/0.2703, allocations: 0.6642 MB / 372.4 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.2716, allocations: 0.8484 MB / 373.3 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.2716, allocations: 1.719 kB / 373.3 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003515/0.272, allocations: 75.69 kB / 373.4 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.272, allocations: 6.188 kB / 373.4 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/0.272, allocations: 16.33 kB / 373.4 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.272, allocations: 3.281 kB / 373.4 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.272, allocations: 5.062 kB / 373.4 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007602/0.2728, allocations: 0.5418 MB / 373.9 MB, free: 17.96 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.2729, allocations: 136.5 kB / 374.1 MB, free: 17.87 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.501e-05/0.273, allocations: 8.812 kB / 374.1 MB, free: 17.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.2732, allocations: 18.06 kB / 374.1 MB, free: 17.87 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.962e-05/0.2733, allocations: 32.8 kB / 374.1 MB, free: 17.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.182e-05/0.2734, allocations: 14.77 kB / 374.1 MB, free: 17.87 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002495/0.2736, allocations: 243.6 kB / 374.4 MB, free: 17.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2736, allocations: 1.094 kB / 374.4 MB, free: 17.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004174/0.274, allocations: 90.88 kB / 374.5 MB, free: 17.78 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.001451/0.2755, allocations: 426.9 kB / 374.9 MB, free: 17.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007438/0.2763, allocations: 381.6 kB / 375.3 MB, free: 17.42 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.2763, allocations: 1.25 kB / 375.3 MB, free: 17.42 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000242/0.2765, allocations: 134.5 kB / 375.4 MB, free: 17.38 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000579/0.2771, allocations: 100.1 kB / 375.5 MB, free: 17.35 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.2787, allocations: 1.167 MB / 376.7 MB, free: 16.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.2789, allocations: 0.8146 MB / 377.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002026/0.2791, allocations: 46.12 kB / 377.5 MB, free: 15.87 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.411e-05/0.2792, allocations: 34.58 kB / 377.5 MB, free: 15.87 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2792, allocations: 0 / 377.5 MB, free: 15.87 MB / 302.1 MB Notification: Performance of Templates: time 0.01147/0.2907, allocations: 5.233 MB / 382.8 MB, free: 15.41 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