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.001358/0.001358, allocations: 78.28 kB / 21.42 MB, free: 3.078 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.001497/0.001497, allocations: 152.3 kB / 24.81 MB, free: 9.332 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.892/0.892, allocations: 173.3 MB / 201.4 MB, free: 9.23 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.643e-06/1.643e-06, allocations: 0 / 268.4 MB, free: 6.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.72e-05/1.884e-05, allocations: 2.312 kB / 268.4 MB, free: 6.215 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1224/0.1225, allocations: 25.91 MB / 294.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.1243, allocations: 2.193 MB / 296.5 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.789e-05/0.1244, allocations: 2.25 kB / 296.5 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000283/0.1247, allocations: 56.5 kB / 296.6 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002908/0.125, allocations: 164.8 kB / 296.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0103/0.1353, allocations: 6.561 MB / 303.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003121/0.1356, allocations: 328.9 kB / 303.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.18e-05/0.1356, allocations: 5.281 kB / 303.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.1358, allocations: 177.6 kB / 303.8 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.136, allocations: 112.6 kB / 303.9 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.136, allocations: 11.41 kB / 303.9 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01014/0.1461, allocations: 9.003 MB / 312.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.564e-05/0.1462, allocations: 76.55 kB / 313 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.284e-05/0.1463, allocations: 70.88 kB / 313.1 MB, free: 10.1 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006147/0.1524, allocations: 5.833 MB / 318.9 MB, free: 4.965 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1524, allocations: 0 / 318.9 MB, free: 4.965 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1524, allocations: 4 kB / 318.9 MB, free: 4.961 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1524, allocations: 0 / 318.9 MB, free: 4.961 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.002242/0.1547, allocations: 1.158 MB / 320 MB, free: 3.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.1547, allocations: 12.92 kB / 320.1 MB, free: 3.758 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.1549, allocations: 36.97 kB / 320.1 MB, free: 3.723 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.155, allocations: 167.7 kB / 320.3 MB, free: 3.531 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.155, allocations: 12.33 kB / 320.3 MB, free: 3.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.402e-05/0.1551, allocations: 16 kB / 320.3 MB, free: 3.504 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003506/0.1554, allocations: 309.2 kB / 320.6 MB, free: 3.172 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1554, allocations: 7.984 kB / 320.6 MB, free: 3.164 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.1554, allocations: 7.938 kB / 320.6 MB, free: 3.156 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/0.1555, allocations: 15.94 kB / 320.6 MB, free: 3.141 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002405/0.1557, allocations: 120.6 kB / 320.7 MB, free: 3.023 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.0007491/0.1564, allocations: 0.6856 MB / 321.4 MB, free: 2.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003389/0.1568, allocations: 210.9 kB / 321.6 MB, free: 2.094 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.34e-05/0.1569, allocations: 75.34 kB / 321.7 MB, free: 2.012 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005634/0.1625, allocations: 2.528 MB / 324.2 MB, free: 15.52 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.1625, allocations: 37.39 kB / 324.3 MB, free: 15.47 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 2.014e-06/0.1625, allocations: 0 / 324.3 MB, free: 15.47 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.001243/0.1638, allocations: 483.1 kB / 324.7 MB, free: 15 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.1638, allocations: 81.11 kB / 324.8 MB, free: 14.9 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.087e-05/0.1639, allocations: 188 kB / 325 MB, free: 14.71 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.1639, allocations: 29.7 kB / 325 MB, free: 14.68 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.33e-05/0.164, allocations: 158.5 kB / 325.2 MB, free: 14.52 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.876e-05/0.1641, allocations: 144.3 kB / 325.3 MB, free: 14.38 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.1642, allocations: 72.97 kB / 325.4 MB, free: 14.31 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1643, allocations: 0.4982 MB / 325.9 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.1644, allocations: 67.94 kB / 326 MB, free: 13.74 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.1646, allocations: 169.4 kB / 326.1 MB, free: 13.54 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003656/0.165, allocations: 241.8 kB / 326.4 MB, free: 13.28 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.165, allocations: 4 kB / 326.4 MB, free: 13.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005679/0.1656, allocations: 307.7 kB / 326.7 MB, free: 12.97 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.1656, allocations: 8 kB / 326.7 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1656, allocations: 0 / 326.7 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.1656, allocations: 12.2 kB / 326.7 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/0.1659, allocations: 83.89 kB / 326.8 MB, free: 12.87 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1659, allocations: 4 kB / 326.8 MB, free: 12.87 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.166, allocations: 20.8 kB / 326.8 MB, free: 12.85 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.01e-05/0.166, allocations: 12 kB / 326.8 MB, free: 12.84 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 0.0001076/0.1662, allocations: 184.4 kB / 327 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.1663, allocations: 47.67 kB / 327 MB, free: 12.6 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003114/0.1666, allocations: 150.5 kB / 327.2 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1666, allocations: 4 kB / 327.2 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.1666, allocations: 0 / 327.2 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1666, allocations: 3.984 kB / 327.2 MB, free: 12.44 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008293/0.1674, allocations: 0.5915 MB / 327.8 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.1674, allocations: 4 kB / 327.8 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.1677, allocations: 71.89 kB / 327.9 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.1677, allocations: 4 kB / 327.9 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.1677, allocations: 12 kB / 327.9 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.1677, allocations: 7.922 kB / 327.9 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.1677, allocations: 7.938 kB / 327.9 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006832/0.1684, allocations: 0.6303 MB / 328.5 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.674e-05/0.1685, allocations: 45.91 kB / 328.6 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.1685, allocations: 8 kB / 328.6 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/0.1687, allocations: 15.94 kB / 328.6 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.1687, allocations: 23.95 kB / 328.6 MB, free: 10.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.921e-05/0.1688, allocations: 22.92 kB / 328.6 MB, free: 10.94 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.661e-05/0.1688, allocations: 139.8 kB / 328.8 MB, free: 10.8 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1688, allocations: 0 / 328.8 MB, free: 10.8 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001943/0.1707, allocations: 0.9433 MB / 329.7 MB, free: 9.859 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.002845/0.1736, allocations: 1.415 MB / 331.1 MB, free: 8.535 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003928/0.174, allocations: 221.6 kB / 331.3 MB, free: 8.32 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.174, allocations: 0 / 331.3 MB, free: 8.32 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001845/0.1742, allocations: 130.2 kB / 331.5 MB, free: 8.191 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005651/0.1747, allocations: 115.8 kB / 331.6 MB, free: 8.078 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.1758, allocations: 0.509 MB / 332.1 MB, free: 7.527 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.66e-05/0.1758, allocations: 85.33 kB / 332.2 MB, free: 7.426 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002493/0.1761, allocations: 77.78 kB / 332.2 MB, free: 7.352 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002902/0.1764, allocations: 166.1 kB / 332.4 MB, free: 7.188 MB / 282.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1764, allocations: 0 / 332.4 MB, free: 7.188 MB / 282.7 MB Notification: Performance of Templates: time 0.03842/0.2148, allocations: 34.75 MB / 367.2 MB, free: 4.508 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.827345233410597]