Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.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.001407/0.001407, allocations: 85.17 kB / 21.5 MB, free: 2.988 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.001155/0.001155, allocations: 143.2 kB / 24.89 MB, free: 9.211 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.9236/0.9236, allocations: 173.3 MB / 201.5 MB, free: 9.203 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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 268.4 MB, free: 6.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.356e-06/9.498e-06, allocations: 6.312 kB / 268.5 MB, free: 6.215 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1159/0.1159, allocations: 26.19 MB / 294.6 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002229/0.1181, allocations: 2.235 MB / 296.9 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.832e-05/0.1182, allocations: 1.875 kB / 296.9 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000278/0.1184, allocations: 58.47 kB / 296.9 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002888/0.1187, allocations: 162 kB / 297.1 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009772/0.1285, allocations: 6.604 MB / 303.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000293/0.1288, allocations: 321.4 kB / 304 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.473e-05/0.1288, allocations: 11.3 kB / 304 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.129, allocations: 180.5 kB / 304.2 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.1291, allocations: 103.7 kB / 304.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.1291, allocations: 11.59 kB / 304.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007882/0.137, allocations: 8.98 MB / 313.3 MB, free: 9.938 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.188e-05/0.1371, allocations: 79.47 kB / 313.4 MB, free: 9.891 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.889e-05/0.1372, allocations: 73.09 kB / 313.4 MB, free: 9.863 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003667/0.1408, allocations: 5.838 MB / 319.3 MB, free: 4.703 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.1408, allocations: 4 kB / 319.3 MB, free: 4.699 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1408, allocations: 0 / 319.3 MB, free: 4.699 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.1408, allocations: 0 / 319.3 MB, free: 4.699 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001238/0.1421, allocations: 1.027 MB / 320.3 MB, free: 3.648 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.666e-05/0.1421, allocations: 8.922 kB / 320.3 MB, free: 3.641 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.307e-05/0.1422, allocations: 40.67 kB / 320.4 MB, free: 3.605 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.1423, allocations: 156.8 kB / 320.5 MB, free: 3.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.1423, allocations: 12.33 kB / 320.5 MB, free: 3.418 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.1423, allocations: 20 kB / 320.5 MB, free: 3.398 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.1426, allocations: 302.3 kB / 320.8 MB, free: 3.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.1426, allocations: 3.938 kB / 320.8 MB, free: 3.066 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.1426, allocations: 8 kB / 320.9 MB, free: 3.059 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.1426, allocations: 7.984 kB / 320.9 MB, free: 3.051 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.1428, allocations: 117.5 kB / 321 MB, free: 2.938 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005642/0.1434, allocations: 0.519 MB / 321.5 MB, free: 2.406 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.1436, allocations: 182.7 kB / 321.7 MB, free: 2.219 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.716e-05/0.1437, allocations: 66.25 kB / 321.7 MB, free: 2.148 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004103/0.1478, allocations: 2.589 MB / 324.3 MB, free: 15.6 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.1478, allocations: 34.56 kB / 324.4 MB, free: 15.55 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 1.373e-06/0.1478, allocations: 0 / 324.4 MB, free: 15.55 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0008136/0.1486, allocations: 414.1 kB / 324.8 MB, free: 15.15 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.1486, allocations: 81.11 kB / 324.8 MB, free: 15.05 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.392e-05/0.1487, allocations: 130.3 kB / 325 MB, free: 14.92 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.1487, allocations: 33.7 kB / 325 MB, free: 14.88 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.489e-05/0.1488, allocations: 104.5 kB / 325.1 MB, free: 14.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.319e-05/0.1488, allocations: 135 kB / 325.2 MB, free: 14.65 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-05/0.1489, allocations: 66.67 kB / 325.3 MB, free: 14.59 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.263e-05/0.149, allocations: 325.4 kB / 325.6 MB, free: 14.27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.099e-05/0.149, allocations: 66.8 kB / 325.7 MB, free: 14.2 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.1491, allocations: 119.2 kB / 325.8 MB, free: 14.06 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.1494, allocations: 228.2 kB / 326 MB, free: 13.82 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1494, allocations: 0 / 326 MB, free: 13.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003097/0.1497, allocations: 255.9 kB / 326.3 MB, free: 13.56 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.1497, allocations: 4 kB / 326.3 MB, free: 13.56 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1497, allocations: 4 kB / 326.3 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.1497, allocations: 4.219 kB / 326.3 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.1499, allocations: 79.89 kB / 326.4 MB, free: 13.47 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1499, allocations: 7.984 kB / 326.4 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.144e-05/0.15, allocations: 16 kB / 326.4 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.15, allocations: 11.98 kB / 326.4 MB, free: 13.44 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.582e-05/0.1501, allocations: 139.8 kB / 326.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.407e-05/0.1502, allocations: 43.69 kB / 326.6 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001997/0.1504, allocations: 151.1 kB / 326.7 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.1504, allocations: 4 kB / 326.7 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.1504, allocations: 0 / 326.7 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.1504, allocations: 3.984 kB / 326.7 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005274/0.1509, allocations: 453.8 kB / 327.2 MB, free: 12.63 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1509, allocations: 4 kB / 327.2 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.1511, allocations: 76.7 kB / 327.3 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1511, allocations: 4 kB / 327.3 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.1511, allocations: 8 kB / 327.3 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.1511, allocations: 4 kB / 327.3 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1511, allocations: 0 / 327.3 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004624/0.1516, allocations: 490.6 kB / 327.8 MB, free: 12.03 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.377e-05/0.1516, allocations: 35.88 kB / 327.8 MB, free: 11.99 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.1516, allocations: 9.375 kB / 327.8 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.1518, allocations: 11.98 kB / 327.8 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.614e-05/0.1518, allocations: 31.89 kB / 327.8 MB, free: 11.94 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.1518, allocations: 12 kB / 327.8 MB, free: 11.93 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.759e-05/0.1518, allocations: 20.8 kB / 327.9 MB, free: 11.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1518, allocations: 7.969 kB / 327.9 MB, free: 11.9 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001168/0.153, allocations: 0.9472 MB / 328.8 MB, free: 10.95 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (37): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002284/0.1553, allocations: 1.451 MB / 330.3 MB, free: 9.613 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002456/0.1555, allocations: 195.1 kB / 330.5 MB, free: 9.422 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1555, allocations: 0 / 330.5 MB, free: 9.422 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.1557, allocations: 112 kB / 330.6 MB, free: 9.312 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.156, allocations: 116.3 kB / 330.7 MB, free: 9.203 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008035/0.1568, allocations: 479.5 kB / 331.2 MB, free: 8.703 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.754e-05/0.1569, allocations: 85.33 kB / 331.2 MB, free: 8.602 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001713/0.157, allocations: 65.91 kB / 331.3 MB, free: 8.539 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/0.1572, allocations: 133.3 kB / 331.4 MB, free: 8.406 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1572, allocations: 4 kB / 331.4 MB, free: 8.402 MB / 282.7 MB Notification: Performance of Templates: time 0.02793/0.1852, allocations: 34.1 MB / 365.5 MB, free: 6.375 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.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.9054852509871125]