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.001714/0.001714, allocations: 123.5 kB / 18.46 MB, free: 4.613 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.001784/0.001784, allocations: 188.3 kB / 21.39 MB, free: 1.688 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.458/1.458, allocations: 225.6 MB / 249.8 MB, free: 3.609 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.001488/0.001488, allocations: 51.92 kB / 366.8 MB, free: 368 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09876/0.1002, allocations: 52.14 MB / 418.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004833/0.1051, allocations: 3.013 MB / 422 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00236/0.1074, allocations: 1.27 MB / 423.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/0.1076, allocations: 11.94 kB / 423.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004901/0.1081, allocations: 139.2 kB / 423.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004578/0.1086, allocations: 178.9 kB / 423.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004419/0.109, allocations: 175.5 kB / 423.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005353/0.1095, allocations: 434.1 kB / 424.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.1097, allocations: 71.48 kB / 424.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002449/0.1099, allocations: 175.3 kB / 424.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002799/0.1102, allocations: 187.2 kB / 424.6 MB, free: 6.477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.566e-05/0.1103, allocations: 28 kB / 424.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.1104, allocations: 63.92 kB / 424.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.1105, allocations: 83.67 kB / 424.7 MB, free: 6.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001958/0.1107, allocations: 179.1 kB / 424.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005599/0.1113, allocations: 450 kB / 425.4 MB, free: 5.688 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1113, allocations: 8 kB / 425.4 MB, free: 5.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.1113, allocations: 4 kB / 425.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.1113, allocations: 0 / 425.4 MB, free: 5.676 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.001063/0.1124, allocations: 0.6748 MB / 426 MB, free: 4.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.1124, allocations: 8.031 kB / 426 MB, free: 4.941 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.447e-05/0.1125, allocations: 60.59 kB / 426.1 MB, free: 4.883 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004776/0.113, allocations: 320.1 kB / 426.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.113, allocations: 20.92 kB / 426.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.536e-05/0.1131, allocations: 32.08 kB / 426.5 MB, free: 4.484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005216/0.1136, allocations: 299.1 kB / 426.8 MB, free: 4.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.1136, allocations: 3.984 kB / 426.8 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.193e-05/0.1136, allocations: 12 kB / 426.8 MB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.1136, allocations: 4 kB / 426.8 MB, free: 4.145 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003568/0.114, allocations: 178.1 kB / 427 MB, free: 3.973 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/0.1154, allocations: 0.8445 MB / 427.8 MB, free: 3.059 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005856/0.116, allocations: 239.4 kB / 428 MB, free: 2.816 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.1162, allocations: 89.39 kB / 428.1 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.1162, allocations: 4.281 kB / 428.1 MB, free: 2.723 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003088/0.1165, allocations: 169.7 kB / 428.3 MB, free: 2.547 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.903e-06/0.1165, allocations: 0 / 428.3 MB, free: 2.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002544/0.1191, allocations: 1.313 MB / 429.6 MB, free: 1.121 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/0.1192, allocations: 195.9 kB / 429.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003948/0.1196, allocations: 320.6 kB / 430.1 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.1196, allocations: 33.7 kB / 430.1 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.1198, allocations: 184.7 kB / 430.3 MB, free: 344 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.1199, allocations: 146.7 kB / 430.5 MB, free: 196 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.12, allocations: 74.12 kB / 430.5 MB, free: 116 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.1202, allocations: 354.8 kB / 430.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.1204, allocations: 88.84 kB / 431 MB, free: 15.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/0.1207, allocations: 177.3 kB / 431.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004123/0.1211, allocations: 254.2 kB / 431.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1211, allocations: 0 / 431.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000643/0.1218, allocations: 358.4 kB / 431.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1218, allocations: 4.125 kB / 431.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.1218, allocations: 8 kB / 431.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001017/0.1219, allocations: 20.84 kB / 431.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003768/0.1223, allocations: 87.84 kB / 431.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/0.1236, allocations: 1.398 MB / 433.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.1238, allocations: 11.98 kB / 433.3 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.1238, allocations: 12 kB / 433.3 MB, free: 13.16 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.0002446/0.1241, allocations: 172.8 kB / 433.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.796e-05/0.1241, allocations: 47.75 kB / 433.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.1242, allocations: 51.86 kB / 433.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1242, allocations: 4 kB / 433.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1242, allocations: 3.938 kB / 433.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007427/0.125, allocations: 0.6572 MB / 434.2 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.1264, allocations: 0.8413 MB / 435.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.1264, allocations: 4 kB / 435.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003953/0.1268, allocations: 79.89 kB / 435.1 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.1268, allocations: 0 / 435.1 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/0.1269, allocations: 8 kB / 435.1 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.1269, allocations: 4 kB / 435.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.1269, allocations: 0 / 435.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008672/0.1277, allocations: 0.5465 MB / 435.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001605/0.1279, allocations: 136.9 kB / 435.8 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.624e-05/0.128, allocations: 8 kB / 435.8 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002583/0.1282, allocations: 19.98 kB / 435.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.1283, allocations: 27.97 kB / 435.9 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.089e-05/0.1284, allocations: 12 kB / 435.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002733/0.1286, allocations: 239 kB / 436.1 MB, free: 10.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1286, allocations: 0 / 436.1 MB, free: 10.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004305/0.1291, allocations: 99.86 kB / 436.2 MB, free: 9.988 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.001648/0.1307, allocations: 418.9 kB / 436.6 MB, free: 9.742 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008663/0.1316, allocations: 366.9 kB / 437 MB, free: 9.371 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.1316, allocations: 0 / 437 MB, free: 9.371 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002442/0.1318, allocations: 123.7 kB / 437.1 MB, free: 9.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006408/0.1325, allocations: 100 kB / 437.2 MB, free: 9.156 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002265/0.1347, allocations: 1.058 MB / 438.3 MB, free: 8.051 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004745/0.1352, allocations: 0.808 MB / 439.1 MB, free: 7.219 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.1353, allocations: 39.42 kB / 439.1 MB, free: 7.18 MB / 366.1 MB Notification: Performance of SimCode: time 1.452e-06/0.1353, allocations: 0 / 439.1 MB, free: 7.18 MB / 366.1 MB Notification: Performance of Templates: time 0.009934/0.1453, allocations: 5.72 MB / 444.8 MB, free: 1.488 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 -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.180920985992998]