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.001638/0.001638, allocations: 115.1 kB / 18.45 MB, free: 4.605 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.002104/0.002104, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.508/1.508, allocations: 230.6 MB / 254.8 MB, free: 15.26 MB / 206.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.001576/0.001576, allocations: 51.94 kB / 374.1 MB, free: 9.762 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1061, allocations: 53.33 MB / 427.5 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004766/0.1109, allocations: 3.034 MB / 430.5 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002706/0.1136, allocations: 1.418 MB / 431.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002133/0.1138, allocations: 7.938 kB / 431.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005297/0.1144, allocations: 147.1 kB / 432.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006184/0.115, allocations: 214.7 kB / 432.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003739/0.1154, allocations: 139.6 kB / 432.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006126/0.116, allocations: 453.9 kB / 432.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001993/0.1162, allocations: 75.8 kB / 432.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002622/0.1164, allocations: 179.3 kB / 433.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002743/0.1167, allocations: 195.1 kB / 433.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.118e-05/0.1168, allocations: 28 kB / 433.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.1169, allocations: 59.98 kB / 433.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.117, allocations: 83.67 kB / 433.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001896/0.1172, allocations: 191 kB / 433.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005808/0.1178, allocations: 454 kB / 434.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1178, allocations: 0 / 434.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1178, allocations: 0 / 434.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.1178, allocations: 4 kB / 434.1 MB, free: 13.67 MB / 366.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.001179/0.119, allocations: 0.6942 MB / 434.8 MB, free: 12.92 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.119, allocations: 8.031 kB / 434.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.1191, allocations: 48.66 kB / 434.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005189/0.1196, allocations: 320.8 kB / 435.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/0.1197, allocations: 20.94 kB / 435.2 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.489e-05/0.1197, allocations: 32.11 kB / 435.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005362/0.1203, allocations: 287.1 kB / 435.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.1203, allocations: 0 / 435.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.207e-05/0.1203, allocations: 19.98 kB / 435.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.1203, allocations: 8 kB / 435.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003485/0.1207, allocations: 174.1 kB / 435.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.1221, allocations: 0.8407 MB / 436.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000569/0.1226, allocations: 255.4 kB / 436.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.1228, allocations: 89.39 kB / 436.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.644e-05/0.1228, allocations: 4.281 kB / 436.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003063/0.1232, allocations: 169.8 kB / 437 MB, free: 10.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 1.573e-06/0.1232, allocations: 0 / 437 MB, free: 10.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.002479/0.1256, allocations: 1.32 MB / 438.4 MB, free: 9.094 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.1258, allocations: 187.9 kB / 438.6 MB, free: 8.867 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003953/0.1262, allocations: 336.5 kB / 438.9 MB, free: 8.531 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.1262, allocations: 37.7 kB / 438.9 MB, free: 8.488 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.1263, allocations: 180.8 kB / 439.1 MB, free: 8.309 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.1265, allocations: 142.8 kB / 439.2 MB, free: 8.168 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.1266, allocations: 74.14 kB / 439.3 MB, free: 8.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.1268, allocations: 346.8 kB / 439.6 MB, free: 7.742 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.127, allocations: 92.83 kB / 439.7 MB, free: 7.652 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.1272, allocations: 181.2 kB / 439.9 MB, free: 7.441 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004367/0.1277, allocations: 258.2 kB / 440.2 MB, free: 7.176 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1277, allocations: 3.938 kB / 440.2 MB, free: 7.172 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006001/0.1283, allocations: 354.6 kB / 440.5 MB, free: 6.816 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.1283, allocations: 8 kB / 440.5 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.1283, allocations: 0 / 440.5 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001051/0.1284, allocations: 16.98 kB / 440.5 MB, free: 6.789 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003468/0.1287, allocations: 91.89 kB / 440.6 MB, free: 6.699 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/0.13, allocations: 1.39 MB / 442 MB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.1302, allocations: 8 kB / 442 MB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/0.1302, allocations: 16 kB / 442 MB, free: 5.148 MB / 366.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.0002305/0.1305, allocations: 170.2 kB / 442.2 MB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.751e-05/0.1305, allocations: 39.77 kB / 442.2 MB, free: 4.934 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.1306, allocations: 44.05 kB / 442.3 MB, free: 4.887 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.1307, allocations: 8 kB / 442.3 MB, free: 4.879 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1307, allocations: 3.938 kB / 442.3 MB, free: 4.875 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007124/0.1314, allocations: 0.665 MB / 443 MB, free: 4.105 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/0.1326, allocations: 0.8375 MB / 443.8 MB, free: 3.199 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.1326, allocations: 8.188 kB / 443.8 MB, free: 3.191 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003367/0.133, allocations: 71.91 kB / 443.9 MB, free: 3.121 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-06/0.133, allocations: 4 kB / 443.9 MB, free: 3.117 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.138e-05/0.133, allocations: 15.98 kB / 443.9 MB, free: 3.102 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.633e-06/0.133, allocations: 7.938 kB / 443.9 MB, free: 3.094 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.133, allocations: 0 / 443.9 MB, free: 3.094 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008158/0.1338, allocations: 0.5466 MB / 444.5 MB, free: 2.516 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.134, allocations: 140.8 kB / 444.6 MB, free: 2.359 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.365e-05/0.1341, allocations: 15.98 kB / 444.6 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.1343, allocations: 12 kB / 444.6 MB, free: 2.332 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.927e-05/0.1344, allocations: 31.89 kB / 444.7 MB, free: 2.301 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.1344, allocations: 12 kB / 444.7 MB, free: 2.289 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002728/0.1347, allocations: 243.1 kB / 444.9 MB, free: 2.051 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1347, allocations: 0 / 444.9 MB, free: 2.051 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004409/0.1351, allocations: 103.9 kB / 445 MB, free: 1.949 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 (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.001576/0.1367, allocations: 430.8 kB / 445.4 MB, free: 1.684 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000722/0.1374, allocations: 350.4 kB / 445.8 MB, free: 1.328 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1374, allocations: 8.062 kB / 445.8 MB, free: 1.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002322/0.1376, allocations: 127.8 kB / 445.9 MB, free: 1.195 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005868/0.1382, allocations: 80.98 kB / 446 MB, free: 1.117 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1937/0.3319, allocations: 1.071 MB / 447 MB, free: 24.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.3323, allocations: 0.8031 MB / 447.9 MB, free: 23.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.3325, allocations: 36.64 kB / 447.9 MB, free: 23.72 MB / 366.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3325, allocations: 0 / 447.9 MB, free: 23.72 MB / 366.1 MB Notification: Performance of Templates: time 0.01132/0.3438, allocations: 5.796 MB / 453.7 MB, free: 23.41 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 -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: 8.237219083996024]