Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001583/0.001583, allocations: 99.45 kB / 17.59 MB, free: 5.562 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.001789/0.001789, allocations: 191.3 kB / 18.52 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 46.08 kB / 301.3 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0944/0.09555, allocations: 49.45 MB / 350.7 MB, free: 4.434 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.005081/0.1007, allocations: 3.003 MB / 353.7 MB, free: 1.406 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002183/0.1029, allocations: 1.258 MB / 355 MB, free: 144 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002759/0.1032, allocations: 4 kB / 355 MB, free: 140 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005218/0.1038, allocations: 143.2 kB / 355.1 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000571/0.1043, allocations: 174.9 kB / 355.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000534/0.1049, allocations: 178 kB / 355.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00061/0.1055, allocations: 422 kB / 355.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002437/0.1058, allocations: 116 kB / 356 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002896/0.1061, allocations: 171.3 kB / 356.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000303/0.1064, allocations: 191.1 kB / 356.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.533e-05/0.1065, allocations: 31.94 kB / 356.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.1066, allocations: 55.97 kB / 356.4 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.1068, allocations: 75.77 kB / 356.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002441/0.107, allocations: 190.9 kB / 356.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005512/0.1076, allocations: 438.8 kB / 357.1 MB, free: 13.99 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.83e-06/0.1076, allocations: 4 kB / 357.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1076, allocations: 0 / 357.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.063e-05/0.1076, allocations: 0 / 357.1 MB, free: 13.98 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.001448/0.1091, allocations: 0.6674 MB / 357.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.1091, allocations: 8.031 kB / 357.8 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001607/0.1093, allocations: 48.38 kB / 357.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005806/0.1099, allocations: 327.8 kB / 358.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.382e-05/0.1099, allocations: 16.94 kB / 358.2 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.215e-05/0.11, allocations: 32.11 kB / 358.2 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000561/0.1106, allocations: 295.1 kB / 358.5 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.1106, allocations: 0 / 358.5 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.574e-05/0.1107, allocations: 16 kB / 358.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.1107, allocations: 4 kB / 358.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003539/0.111, allocations: 178.1 kB / 358.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/0.1125, allocations: 0.8366 MB / 359.5 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005702/0.1131, allocations: 263.4 kB / 359.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.1133, allocations: 101.4 kB / 359.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.1133, allocations: 4.281 kB / 359.9 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003706/0.1137, allocations: 162.6 kB / 360.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 1.824e-06/0.1137, allocations: 3.938 kB / 360.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.002493/0.1162, allocations: 1.308 MB / 361.4 MB, free: 9.441 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.1163, allocations: 183.9 kB / 361.5 MB, free: 9.219 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004015/0.1167, allocations: 324.6 kB / 361.9 MB, free: 8.887 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.019e-05/0.1168, allocations: 45.62 kB / 361.9 MB, free: 8.836 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.117, allocations: 180.6 kB / 362.1 MB, free: 8.656 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.1171, allocations: 145.9 kB / 362.2 MB, free: 8.512 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.1172, allocations: 70.14 kB / 362.3 MB, free: 8.434 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1174, allocations: 346.8 kB / 362.6 MB, free: 8.086 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.1176, allocations: 88.83 kB / 362.7 MB, free: 8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.1178, allocations: 181.3 kB / 362.9 MB, free: 7.793 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003951/0.1182, allocations: 242.2 kB / 363.1 MB, free: 7.543 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1182, allocations: 4 kB / 363.1 MB, free: 7.539 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005913/0.1188, allocations: 358.2 kB / 363.5 MB, free: 7.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.1189, allocations: 4 kB / 363.5 MB, free: 7.176 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.1189, allocations: 0 / 363.5 MB, free: 7.176 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001155/0.119, allocations: 28.78 kB / 363.5 MB, free: 7.145 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/0.1194, allocations: 91.95 kB / 363.6 MB, free: 7.055 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001191/0.1206, allocations: 1.406 MB / 365 MB, free: 5.512 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/0.1208, allocations: 20.02 kB / 365 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/0.1208, allocations: 12 kB / 365 MB, free: 5.48 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.0002145/0.1211, allocations: 162.3 kB / 365.2 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.526e-05/0.1211, allocations: 35.62 kB / 365.2 MB, free: 5.277 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.1212, allocations: 43.88 kB / 365.3 MB, free: 5.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.1213, allocations: 8.062 kB / 365.3 MB, free: 5.223 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.1213, allocations: 3.938 kB / 365.3 MB, free: 5.219 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006563/0.1219, allocations: 0.6572 MB / 366 MB, free: 4.457 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.1232, allocations: 0.8486 MB / 366.8 MB, free: 3.539 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1232, allocations: 0 / 366.8 MB, free: 3.539 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003247/0.1235, allocations: 75.95 kB / 366.9 MB, free: 3.465 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.1235, allocations: 8 kB / 366.9 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.992e-05/0.1236, allocations: 12 kB / 366.9 MB, free: 3.445 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.1236, allocations: 4 kB / 366.9 MB, free: 3.441 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1236, allocations: 0 / 366.9 MB, free: 3.441 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007821/0.1244, allocations: 0.545 MB / 367.4 MB, free: 2.867 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/0.1246, allocations: 132.8 kB / 367.6 MB, free: 2.719 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.535e-05/0.1246, allocations: 12 kB / 367.6 MB, free: 2.707 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.1249, allocations: 19.89 kB / 367.6 MB, free: 2.688 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.879e-05/0.125, allocations: 27.97 kB / 367.6 MB, free: 2.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.074e-05/0.125, allocations: 12 kB / 367.6 MB, free: 2.648 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000246/0.1253, allocations: 239 kB / 367.9 MB, free: 2.414 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.463e-06/0.1253, allocations: 0 / 367.9 MB, free: 2.414 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004239/0.1257, allocations: 108.5 kB / 368 MB, free: 2.309 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.001036/0.1267, allocations: 417.7 kB / 368.4 MB, free: 2.051 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007801/0.1275, allocations: 382.5 kB / 368.8 MB, free: 1.664 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.1275, allocations: 0 / 368.8 MB, free: 1.664 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002417/0.1278, allocations: 131.8 kB / 368.9 MB, free: 1.535 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006129/0.1284, allocations: 93.09 kB / 369 MB, free: 1.449 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.1304, allocations: 1.063 MB / 370 MB, free: 348 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1586/0.289, allocations: 0.8004 MB / 370.9 MB, free: 24.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.2892, allocations: 36.83 kB / 370.9 MB, free: 24.77 MB / 302.1 MB Notification: Performance of SimCode: time 1.223e-06/0.2892, allocations: 1.875 kB / 370.9 MB, free: 24.77 MB / 302.1 MB Notification: Performance of Templates: time 0.01058/0.2998, allocations: 5.67 MB / 376.6 MB, free: 24.42 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches