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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001893/0.001893, allocations: 74.42 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002115/0.002115, allocations: 148.4 kB / 24.49 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 173.4 MB / 201.1 MB, free: 12.68 MB / 190.1 MB " [Timeout remaining time 178] 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=2000,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=2000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 51.67 kB / 319.4 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08441/0.08596, allocations: 52.16 MB / 371.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004171/0.09013, allocations: 2.802 MB / 374.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.09211, allocations: 1.196 MB / 375.6 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.09224, allocations: 7.938 kB / 375.6 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004167/0.09265, allocations: 143.2 kB / 375.7 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003959/0.09305, allocations: 170.9 kB / 375.9 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.09344, allocations: 179.5 kB / 376.1 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004991/0.09393, allocations: 434.1 kB / 376.5 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.0941, allocations: 75.95 kB / 376.5 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002061/0.0943, allocations: 175.3 kB / 376.7 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002546/0.09456, allocations: 175.1 kB / 376.9 MB, free: 2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.53e-05/0.09461, allocations: 28 kB / 376.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.09473, allocations: 59.98 kB / 377 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.09484, allocations: 83.62 kB / 377.1 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.09501, allocations: 151.3 kB / 377.2 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005037/0.09552, allocations: 458.1 kB / 377.7 MB, free: 1.234 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.09552, allocations: 0 / 377.7 MB, free: 1.234 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.09552, allocations: 0 / 377.7 MB, free: 1.234 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.998e-06/0.09553, allocations: 0 / 377.7 MB, free: 1.234 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009791/0.09651, allocations: 0.6072 MB / 378.3 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.09654, allocations: 8.922 kB / 378.3 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.397e-05/0.09662, allocations: 48.66 kB / 378.3 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004128/0.09704, allocations: 270.2 kB / 378.6 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.09706, allocations: 20.86 kB / 378.6 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.012e-05/0.09711, allocations: 28.12 kB / 378.6 MB, free: 208 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006174/0.09773, allocations: 0.5093 MB / 379.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.09775, allocations: 4 kB / 379.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/0.09777, allocations: 11.94 kB / 379.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.09778, allocations: 8 kB / 379.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003324/0.09811, allocations: 177.8 kB / 379.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.09935, allocations: 0.7039 MB / 380 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005317/0.09988, allocations: 247.8 kB / 380.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.1001, allocations: 94.22 kB / 380.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.1001, allocations: 4.281 kB / 380.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003517/0.1004, allocations: 268.6 kB / 380.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.643e-06/0.1004, allocations: 4 kB / 380.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002233/0.1027, allocations: 1.095 MB / 381.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.1028, allocations: 187.9 kB / 381.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003541/0.1031, allocations: 324.5 kB / 382.2 MB, free: 12.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.1032, allocations: 37.7 kB / 382.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.1033, allocations: 184.7 kB / 382.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.1034, allocations: 142.8 kB / 382.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.1035, allocations: 82.14 kB / 382.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1037, allocations: 346.8 kB / 383 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.1039, allocations: 92.95 kB / 383.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003236/0.1042, allocations: 310.4 kB / 383.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004159/0.1046, allocations: 250.2 kB / 383.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1046, allocations: 4 kB / 383.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005901/0.1052, allocations: 358.4 kB / 384 MB, free: 10.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1052, allocations: 4 kB / 384 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1052, allocations: 3.938 kB / 384 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.34e-05/0.1053, allocations: 20.86 kB / 384 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003461/0.1057, allocations: 91.89 kB / 384.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/0.1068, allocations: 1.26 MB / 385.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.107, allocations: 15.95 kB / 385.4 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.107, allocations: 19.94 kB / 385.4 MB, free: 8.91 MB / 350.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.0001868/0.1072, allocations: 161.8 kB / 385.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.969e-05/0.1073, allocations: 39.77 kB / 385.6 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006151/0.1079, allocations: 337.8 kB / 385.9 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.1079, allocations: 8.156 kB / 386 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.1079, allocations: 0 / 386 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006951/0.1086, allocations: 0.6766 MB / 386.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.1097, allocations: 0.733 MB / 387.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.1097, allocations: 0 / 387.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003514/0.1101, allocations: 83.83 kB / 387.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.1101, allocations: 4.062 kB / 387.5 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/0.1101, allocations: 16.12 kB / 387.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.1101, allocations: 4 kB / 387.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1101, allocations: 0 / 387.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008193/0.1109, allocations: 0.5587 MB / 388 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.1111, allocations: 59.73 kB / 388.1 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.537e-05/0.1111, allocations: 12 kB / 388.1 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.1113, allocations: 15.98 kB / 388.1 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.157e-05/0.1114, allocations: 27.95 kB / 388.1 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.228e-05/0.1114, allocations: 15.98 kB / 388.2 MB, free: 5.973 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002449/0.1117, allocations: 239 kB / 388.4 MB, free: 5.738 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1117, allocations: 0 / 388.4 MB, free: 5.738 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000414/0.1121, allocations: 99.94 kB / 388.5 MB, free: 5.641 MB / 350.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 (41): * Single equations (assignments): 39 * 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.001627/0.1137, allocations: 443.7 kB / 388.9 MB, free: 5.383 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006461/0.1144, allocations: 366.3 kB / 389.3 MB, free: 5.012 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1144, allocations: 4 kB / 389.3 MB, free: 5.008 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002384/0.1146, allocations: 135.8 kB / 389.4 MB, free: 4.875 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005534/0.1152, allocations: 99.22 kB / 389.5 MB, free: 4.781 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/0.1168, allocations: 1.035 MB / 390.5 MB, free: 3.707 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.117, allocations: 191.7 kB / 390.7 MB, free: 3.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001567/0.1172, allocations: 47.25 kB / 390.8 MB, free: 3.449 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.396e-05/0.1173, allocations: 40.5 kB / 390.8 MB, free: 3.41 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1173, allocations: 0 / 390.8 MB, free: 3.41 MB / 350.1 MB Notification: Performance of Templates: time 0.0115/0.1288, allocations: 5.53 MB / 396.4 MB, free: 14 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.5273281779373065]