Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 69.64 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002173/0.002173, allocations: 160.9 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.506/1.506, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 50.67 kB / 325.5 MB, free: 480 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08989/0.09154, allocations: 53.35 MB / 378.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.00464/0.09618, allocations: 2.819 MB / 381.7 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002529/0.09871, allocations: 1.34 MB / 383.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001946/0.0989, allocations: 7.938 kB / 383.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004545/0.09936, allocations: 143.1 kB / 383.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005768/0.09993, allocations: 218.7 kB / 383.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.1003, allocations: 143.6 kB / 383.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005987/0.1009, allocations: 442.1 kB / 384 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.1011, allocations: 76.25 kB / 384.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002511/0.1013, allocations: 175.3 kB / 384.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002932/0.1016, allocations: 179.1 kB / 384.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.666e-05/0.1017, allocations: 28 kB / 384.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.1018, allocations: 67.98 kB / 384.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.1019, allocations: 83.69 kB / 384.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001918/0.1021, allocations: 155.1 kB / 384.7 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005663/0.1027, allocations: 458.1 kB / 385.2 MB, free: 9.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1027, allocations: 0 / 385.2 MB, free: 9.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1027, allocations: 0 / 385.2 MB, free: 9.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.1027, allocations: 0 / 385.2 MB, free: 9.484 MB / 350.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.00113/0.1038, allocations: 0.6188 MB / 385.8 MB, free: 8.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.1039, allocations: 8.031 kB / 385.8 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.947e-05/0.104, allocations: 48.66 kB / 385.9 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004845/0.1044, allocations: 266.2 kB / 386.1 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.1045, allocations: 16.88 kB / 386.1 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.356e-05/0.1045, allocations: 32.12 kB / 386.2 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000653/0.1052, allocations: 0.5131 MB / 386.7 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.1052, allocations: 4 kB / 386.7 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.098e-05/0.1052, allocations: 16 kB / 386.7 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.1052, allocations: 4 kB / 386.7 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003585/0.1056, allocations: 177.9 kB / 386.9 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.1069, allocations: 0.7 MB / 387.6 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005755/0.1075, allocations: 247.9 kB / 387.8 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.1077, allocations: 94.23 kB / 387.9 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.1077, allocations: 4.281 kB / 387.9 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004065/0.1081, allocations: 268.6 kB / 388.2 MB, free: 6.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.753e-06/0.1081, allocations: 3.938 kB / 388.2 MB, free: 6.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002384/0.1105, allocations: 1.099 MB / 389.3 MB, free: 5.098 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.1106, allocations: 187.9 kB / 389.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003954/0.111, allocations: 336.5 kB / 389.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.397e-05/0.1111, allocations: 37.7 kB / 389.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.1112, allocations: 188.7 kB / 390 MB, free: 4.309 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.1114, allocations: 142.8 kB / 390.2 MB, free: 4.168 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.1115, allocations: 78.19 kB / 390.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.1117, allocations: 346.8 kB / 390.6 MB, free: 3.738 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.1119, allocations: 84.97 kB / 390.7 MB, free: 3.652 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003735/0.1122, allocations: 314.4 kB / 391 MB, free: 3.281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004405/0.1127, allocations: 258.2 kB / 391.2 MB, free: 3.016 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1127, allocations: 0 / 391.2 MB, free: 3.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006231/0.1133, allocations: 362.4 kB / 391.6 MB, free: 2.652 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.1133, allocations: 7.938 kB / 391.6 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.1133, allocations: 4 kB / 391.6 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.403e-05/0.1134, allocations: 16.98 kB / 391.6 MB, free: 2.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000351/0.1138, allocations: 95.83 kB / 391.7 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001189/0.115, allocations: 1.26 MB / 392.9 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.1152, allocations: 19.97 kB / 393 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.1152, allocations: 15.94 kB / 393 MB, free: 1.125 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.0001982/0.1154, allocations: 165.9 kB / 393.1 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.54e-05/0.1154, allocations: 39.77 kB / 393.2 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007277/0.1162, allocations: 345.9 kB / 393.5 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.1162, allocations: 4 kB / 393.5 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.1162, allocations: 4.062 kB / 393.5 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007884/0.117, allocations: 0.6683 MB / 394.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.1181, allocations: 0.728 MB / 394.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.1181, allocations: 8.125 kB / 394.9 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003431/0.1185, allocations: 83.83 kB / 395 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.1185, allocations: 4 kB / 395 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.1185, allocations: 8 kB / 395 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.1185, allocations: 0 / 395 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1185, allocations: 4 kB / 395 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008486/0.1194, allocations: 0.5593 MB / 395.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.1195, allocations: 59.73 kB / 395.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.143e-05/0.1195, allocations: 15.98 kB / 395.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/0.1198, allocations: 16 kB / 395.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.37e-05/0.1199, allocations: 27.95 kB / 395.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.1199, allocations: 15.98 kB / 395.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002728/0.1202, allocations: 239.1 kB / 396 MB, free: 13.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1202, allocations: 0 / 396 MB, free: 13.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000408/0.1206, allocations: 92 kB / 396 MB, free: 13.86 MB / 366.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.001659/0.1222, allocations: 460.3 kB / 396.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006741/0.1229, allocations: 370.3 kB / 396.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.1229, allocations: 4 kB / 396.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002386/0.1232, allocations: 124.5 kB / 397 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005802/0.1237, allocations: 98.06 kB / 397.1 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.1255, allocations: 1.038 MB / 398.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.1257, allocations: 199.7 kB / 398.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001736/0.1259, allocations: 47.25 kB / 398.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.75e-05/0.126, allocations: 40.48 kB / 398.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.126, allocations: 0 / 398.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of Templates: time 0.01192/0.1379, allocations: 5.584 MB / 404 MB, free: 6.156 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.585160383023322]