Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.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.001057/0.001057, allocations: 78.19 kB / 21.42 MB, free: 3.074 MB / 18.57 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.001019/0.001019, allocations: 152.2 kB / 24.81 MB, free: 8.887 MB / 18.57 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 0.9688/0.9688, allocations: 173.3 MB / 201.4 MB, free: 9.211 MB / 186.7 MB " [Timeout remaining time 179] 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.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 3.938 kB / 268.4 MB, free: 6.188 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.055e-05, allocations: 2.312 kB / 268.4 MB, free: 6.184 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.009421/0.009442, allocations: 11.81 MB / 280.2 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.01129, allocations: 1.915 MB / 282.1 MB, free: 8.391 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.01147, allocations: 7.938 kB / 282.1 MB, free: 8.383 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003624/0.01183, allocations: 107.3 kB / 282.3 MB, free: 8.277 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005044/0.01233, allocations: 381.7 kB / 282.6 MB, free: 7.902 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002692/0.01502, allocations: 1.365 MB / 284 MB, free: 6.531 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007604/0.01579, allocations: 0.9454 MB / 284.9 MB, free: 5.582 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.01594, allocations: 72.83 kB / 285 MB, free: 5.512 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004014/0.01996, allocations: 4.276 MB / 289.3 MB, free: 1.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002776/0.02023, allocations: 255.2 kB / 289.5 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.806e-05/0.02027, allocations: 28 kB / 289.6 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008081/0.02108, allocations: 0.6788 MB / 290.2 MB, free: 280 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.276e-05/0.02117, allocations: 107.6 kB / 290.3 MB, free: 172 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.02128, allocations: 151.7 kB / 290.5 MB, free: 20 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1085/0.1298, allocations: 0.7405 MB / 291.2 MB, free: 20.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.1298, allocations: 1.438 kB / 291.2 MB, free: 20.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1298, allocations: 0 / 291.2 MB, free: 20.71 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.1298, allocations: 0 / 291.2 MB, free: 20.71 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0008695/0.1307, allocations: 0.672 MB / 291.9 MB, free: 20.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.1307, allocations: 11.45 kB / 291.9 MB, free: 20.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003305/0.1311, allocations: 127.2 kB / 292 MB, free: 20.19 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.1313, allocations: 231.8 kB / 292.3 MB, free: 20.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.1313, allocations: 21.47 kB / 292.3 MB, free: 20.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.787e-05/0.1314, allocations: 31.88 kB / 292.3 MB, free: 20.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.1316, allocations: 441.4 kB / 292.8 MB, free: 19.69 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.1316, allocations: 3.031 kB / 292.8 MB, free: 19.69 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.1317, allocations: 16.03 kB / 292.8 MB, free: 19.69 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.1317, allocations: 10.69 kB / 292.8 MB, free: 19.69 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.1318, allocations: 116.6 kB / 292.9 MB, free: 19.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00596/0.1378, allocations: 4.34 MB / 297.2 MB, free: 18.1 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.1379, allocations: 124.8 kB / 297.4 MB, free: 18.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.691e-05/0.138, allocations: 56.38 kB / 297.4 MB, free: 18.05 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004445/0.1424, allocations: 2.548 MB / 300 MB, free: 17.89 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.1425, allocations: 42.89 kB / 300 MB, free: 17.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.853e-06/0.1425, allocations: 1.125 kB / 300 MB, free: 17.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.003138/0.1456, allocations: 1.063 MB / 301.1 MB, free: 17.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.1456, allocations: 59.34 kB / 301.1 MB, free: 17.53 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.1458, allocations: 276.6 kB / 301.4 MB, free: 17.35 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.1458, allocations: 31.89 kB / 301.4 MB, free: 17.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.401e-05/0.1459, allocations: 243.1 kB / 301.7 MB, free: 17.13 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.997e-05/0.1459, allocations: 99 kB / 301.8 MB, free: 17.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.101e-05/0.146, allocations: 75.16 kB / 301.8 MB, free: 17.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.417e-05/0.1461, allocations: 0.5083 MB / 302.3 MB, free: 16.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.618e-05/0.1461, allocations: 46.06 kB / 302.4 MB, free: 16.55 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.348e-05/0.1462, allocations: 168.7 kB / 302.6 MB, free: 16.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.1464, allocations: 242.5 kB / 302.8 MB, free: 16.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.1464, allocations: 1.219 kB / 302.8 MB, free: 16.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003681/0.1467, allocations: 310.4 kB / 303.1 MB, free: 16.15 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1468, allocations: 7.5 kB / 303.1 MB, free: 16.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1468, allocations: 3.031 kB / 303.1 MB, free: 16.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001926/0.1487, allocations: 0.9503 MB / 304.1 MB, free: 16.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.1488, allocations: 70.88 kB / 304.1 MB, free: 16.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005078/0.1539, allocations: 5.875 MB / 310 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.1541, allocations: 9.062 kB / 310 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.1541, allocations: 10.31 kB / 310 MB, free: 11.8 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.1542, allocations: 183.7 kB / 310.2 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.245e-05/0.1543, allocations: 33.33 kB / 310.2 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000326/0.1546, allocations: 339.7 kB / 310.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.1546, allocations: 6.969 kB / 310.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.1546, allocations: 0 / 310.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000251/0.1548, allocations: 0.5656 MB / 311.1 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005787/0.1554, allocations: 0.6627 MB / 311.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.1554, allocations: 0 / 311.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.884e-05/0.1555, allocations: 47.94 kB / 311.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007579/0.1563, allocations: 345.4 kB / 312.2 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.1563, allocations: 11.67 kB / 312.2 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007118/0.157, allocations: 1.854 MB / 314 MB, free: 8.727 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.157, allocations: 8.016 kB / 314.1 MB, free: 8.719 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000357/0.1574, allocations: 0.4918 MB / 314.5 MB, free: 8.449 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.082e-05/0.1574, allocations: 30.95 kB / 314.6 MB, free: 8.426 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.1574, allocations: 11.38 kB / 314.6 MB, free: 8.422 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.786e-05/0.1575, allocations: 7 kB / 314.6 MB, free: 8.422 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.039e-05/0.1575, allocations: 17.81 kB / 314.6 MB, free: 8.414 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.1575, allocations: 15.27 kB / 314.6 MB, free: 8.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.825e-05/0.1576, allocations: 178.5 kB / 314.8 MB, free: 8.277 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1576, allocations: 0 / 314.8 MB, free: 8.277 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006269/0.1582, allocations: 195.6 kB / 315 MB, free: 8.254 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004166/0.1587, allocations: 306.3 kB / 315.3 MB, free: 8.113 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004072/0.1591, allocations: 0.568 MB / 315.9 MB, free: 7.633 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1591, allocations: 0 / 315.9 MB, free: 7.633 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002291/0.1593, allocations: 327.2 kB / 316.2 MB, free: 7.312 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004504/0.1597, allocations: 135.9 kB / 316.3 MB, free: 7.203 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009598/0.1607, allocations: 0.669 MB / 317 MB, free: 6.559 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.036e-05/0.1607, allocations: 101.1 kB / 317.1 MB, free: 6.441 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001156/0.1609, allocations: 42.95 kB / 317.1 MB, free: 6.395 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001856/0.1611, allocations: 183.4 kB / 317.3 MB, free: 6.219 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.1611, allocations: 0 / 317.3 MB, free: 6.219 MB / 266.7 MB Notification: Performance of Templates: time 0.01253/0.1736, allocations: 11.2 MB / 328.5 MB, free: 11.3 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.223671949002892]