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.001239/0.001239, allocations: 76.06 kB / 21.69 MB, free: 2.863 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.001388/0.001388, allocations: 145.8 kB / 24.98 MB, free: 8.879 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.9073/0.9073, allocations: 173.4 MB / 201.5 MB, free: 9.34 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.213e-06/1.213e-06, allocations: 0 / 268.1 MB, free: 6.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.345e-05/1.466e-05, allocations: 6.25 kB / 268.1 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.1165/0.1166, allocations: 27.57 MB / 295.7 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003064/0.1196, allocations: 4.218 MB / 299.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.1198, allocations: 8.938 kB / 299.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004793/0.1203, allocations: 196.6 kB / 300.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004809/0.1207, allocations: 359.6 kB / 300.4 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002632/0.1234, allocations: 1.497 MB / 301.9 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006445/0.124, allocations: 0.8885 MB / 302.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.1242, allocations: 74.33 kB / 302.9 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003845/0.128, allocations: 4.293 MB / 307.2 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002275/0.1282, allocations: 251.3 kB / 307.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.342e-05/0.1283, allocations: 29.97 kB / 307.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000696/0.129, allocations: 0.6973 MB / 308.2 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.598e-05/0.129, allocations: 113.4 kB / 308.3 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.1291, allocations: 147 kB / 308.4 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006522/0.1298, allocations: 0.7913 MB / 309.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1298, allocations: 0 / 309.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1298, allocations: 0 / 309.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1298, allocations: 0 / 309.2 MB, free: 13.19 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.000556/0.1304, allocations: 0.6813 MB / 309.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.1304, allocations: 10.36 kB / 309.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003343/0.1307, allocations: 122.1 kB / 310 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.1309, allocations: 245.5 kB / 310.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.131, allocations: 18.12 kB / 310.3 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.626e-05/0.131, allocations: 32.92 kB / 310.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002851/0.1313, allocations: 462 kB / 310.8 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.1313, allocations: 5.906 kB / 310.8 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.1313, allocations: 11.75 kB / 310.8 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.1313, allocations: 10.03 kB / 310.8 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.1315, allocations: 138.5 kB / 310.9 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005301/0.1368, allocations: 4.543 MB / 315.5 MB, free: 8.875 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.137, allocations: 135.2 kB / 315.6 MB, free: 8.801 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.657e-05/0.137, allocations: 56.05 kB / 315.6 MB, free: 8.777 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004133/0.1412, allocations: 2.695 MB / 318.3 MB, free: 6.645 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.1412, allocations: 49.38 kB / 318.4 MB, free: 6.586 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.232e-06/0.1412, allocations: 0 / 318.4 MB, free: 6.586 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.002985/0.1442, allocations: 1.133 MB / 319.5 MB, free: 5.434 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.533e-05/0.1442, allocations: 51.41 kB / 319.6 MB, free: 5.371 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.1443, allocations: 278.6 kB / 319.8 MB, free: 5.082 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.1443, allocations: 37.7 kB / 319.9 MB, free: 5.039 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.723e-05/0.1444, allocations: 242.7 kB / 320.1 MB, free: 4.801 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.1444, allocations: 91.22 kB / 320.2 MB, free: 4.711 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.353e-05/0.1445, allocations: 75.3 kB / 320.3 MB, free: 4.629 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.423e-05/0.1445, allocations: 0.504 MB / 320.8 MB, free: 4.113 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.775e-05/0.1446, allocations: 51.95 kB / 320.8 MB, free: 4.062 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.1447, allocations: 190.2 kB / 321 MB, free: 3.824 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.1449, allocations: 260.4 kB / 321.3 MB, free: 3.527 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1449, allocations: 0 / 321.3 MB, free: 3.527 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004425/0.1454, allocations: 325.5 kB / 321.6 MB, free: 3.215 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.1454, allocations: 8 kB / 321.6 MB, free: 3.207 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.1454, allocations: 7.938 kB / 321.6 MB, free: 3.199 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002587/0.148, allocations: 0.9303 MB / 322.5 MB, free: 2.281 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.1482, allocations: 67.91 kB / 322.6 MB, free: 2.215 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008808/0.149, allocations: 2.566 MB / 325.2 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.1492, allocations: 8 kB / 325.2 MB, free: 15.49 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.1492, allocations: 16 kB / 325.2 MB, free: 15.47 MB / 282.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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003322/0.1495, allocations: 176.6 kB / 325.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.097e-05/0.1496, allocations: 35.86 kB / 325.4 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004805/0.1501, allocations: 349.8 kB / 325.7 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.1501, allocations: 4 kB / 325.7 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.1501, allocations: 3.938 kB / 325.7 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004303/0.1505, allocations: 0.5782 MB / 326.3 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008205/0.1513, allocations: 0.7109 MB / 327 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.1513, allocations: 7.938 kB / 327 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.1514, allocations: 44 kB / 327.1 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001017/0.1525, allocations: 293.8 kB / 327.4 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.1525, allocations: 11.98 kB / 327.4 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003333/0.1528, allocations: 0.8117 MB / 328.2 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1528, allocations: 0 / 328.2 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005696/0.1534, allocations: 0.5327 MB / 328.7 MB, free: 11.7 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.058e-05/0.1534, allocations: 23.81 kB / 328.8 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/0.1535, allocations: 11.98 kB / 328.8 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.1536, allocations: 7.375 kB / 328.8 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.1536, allocations: 19.91 kB / 328.8 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.1536, allocations: 12 kB / 328.8 MB, free: 11.63 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001139/0.1537, allocations: 189.5 kB / 329 MB, free: 11.45 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1537, allocations: 0 / 329 MB, free: 11.45 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004911/0.1542, allocations: 191.7 kB / 329.2 MB, free: 11.26 MB / 282.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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004623/0.1547, allocations: 291 kB / 329.5 MB, free: 10.99 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005493/0.1552, allocations: 409.7 kB / 329.9 MB, free: 10.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1552, allocations: 7.938 kB / 329.9 MB, free: 10.56 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003197/0.1556, allocations: 156.1 kB / 330 MB, free: 10.41 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006129/0.1562, allocations: 138.6 kB / 330.2 MB, free: 10.27 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.1574, allocations: 0.682 MB / 330.8 MB, free: 9.566 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.492e-05/0.1575, allocations: 97.11 kB / 330.9 MB, free: 9.453 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001391/0.1576, allocations: 42.95 kB / 331 MB, free: 9.41 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.71e-05/0.1576, allocations: 24.5 kB / 331 MB, free: 9.387 MB / 282.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1576, allocations: 0 / 331 MB, free: 9.387 MB / 282.7 MB Notification: Performance of Templates: time 0.01283/0.1705, allocations: 9.348 MB / 340.3 MB, free: 176 kB / 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.2941872430965304]