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.001102/0.001102, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001924/0.003026, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.001047/0.001047, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001544/0.002591, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9315/0.9315, allocations: 173.4 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1039/1.035, allocations: 52.5 MB / 238.3 MB, free: 4.426 MB / 234.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.352e-06/1.352e-06, allocations: 0 / 239.5 MB, free: 3.184 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.62e-05/1.755e-05, allocations: 6.312 kB / 239.5 MB, free: 3.176 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02187/0.02189, allocations: 26.38 MB / 265.9 MB, free: 8.699 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.02394, allocations: 2.247 MB / 268.2 MB, free: 6.441 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.863e-05/0.02401, allocations: 4 kB / 268.2 MB, free: 6.438 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002403/0.02425, allocations: 51.67 kB / 268.2 MB, free: 6.387 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002663/0.02451, allocations: 158.9 kB / 268.4 MB, free: 6.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01066/0.03518, allocations: 6.012 MB / 274.4 MB, free: 200 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1032/0.1384, allocations: 317.6 kB / 274.7 MB, free: 3.262 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.501e-05/0.1384, allocations: 12.58 kB / 274.7 MB, free: 3.262 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003354/0.1387, allocations: 182.9 kB / 274.9 MB, free: 3.262 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.1389, allocations: 105 kB / 275 MB, free: 3.262 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.139, allocations: 11.12 kB / 275 MB, free: 3.262 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01351/0.1525, allocations: 9.514 MB / 284.5 MB, free: 3.262 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.1526, allocations: 56.27 kB / 284.6 MB, free: 3.262 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.1528, allocations: 58 kB / 284.6 MB, free: 3.262 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01054/0.1633, allocations: 4.487 MB / 289.1 MB, free: 3.152 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.867e-05/0.1633, allocations: 2.734 kB / 289.1 MB, free: 3.152 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1633, allocations: 0.8438 kB / 289.1 MB, free: 3.152 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.069e-05/0.1633, allocations: 0 / 289.1 MB, free: 3.152 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.003027/0.1664, allocations: 1.499 MB / 290.6 MB, free: 18.46 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.812e-05/0.1664, allocations: 10.41 kB / 290.6 MB, free: 18.46 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.1665, allocations: 39.64 kB / 290.7 MB, free: 18.46 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.1667, allocations: 153.5 kB / 290.8 MB, free: 18.32 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.1667, allocations: 12.58 kB / 290.8 MB, free: 18.32 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/0.1667, allocations: 17.06 kB / 290.9 MB, free: 18.32 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003408/0.1671, allocations: 312 kB / 291.2 MB, free: 18.12 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.1671, allocations: 4.844 kB / 291.2 MB, free: 18.12 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.1671, allocations: 10.12 kB / 291.2 MB, free: 18.12 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.491e-05/0.1671, allocations: 5.438 kB / 291.2 MB, free: 18.12 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002042/0.1673, allocations: 117.5 kB / 291.3 MB, free: 18.12 MB / 282.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.0007142/0.168, allocations: 0.5108 MB / 291.8 MB, free: 17.83 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002809/0.1683, allocations: 194.8 kB / 292 MB, free: 17.78 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.064e-05/0.1684, allocations: 61.08 kB / 292.1 MB, free: 17.77 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004257/0.1726, allocations: 2.572 MB / 294.6 MB, free: 17.25 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.1727, allocations: 38.44 kB / 294.7 MB, free: 17.21 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 2.094e-06/0.1727, allocations: 0 / 294.7 MB, free: 17.21 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0008568/0.1735, allocations: 416.5 kB / 295.1 MB, free: 17.07 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.1736, allocations: 83.61 kB / 295.1 MB, free: 16.98 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.285e-05/0.1736, allocations: 125.4 kB / 295.3 MB, free: 16.87 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.1737, allocations: 33.42 kB / 295.3 MB, free: 16.84 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.796e-05/0.1737, allocations: 107.5 kB / 295.4 MB, free: 16.73 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.912e-05/0.1737, allocations: 141 kB / 295.5 MB, free: 16.63 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.405e-05/0.1738, allocations: 70.12 kB / 295.6 MB, free: 16.6 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.322e-05/0.1739, allocations: 330.4 kB / 295.9 MB, free: 16.29 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.717e-05/0.174, allocations: 60.58 kB / 296 MB, free: 16.27 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.1741, allocations: 119.9 kB / 296.1 MB, free: 16.19 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.1743, allocations: 218 kB / 296.3 MB, free: 16.08 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1743, allocations: 3.984 kB / 296.3 MB, free: 16.08 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003048/0.1746, allocations: 245.8 kB / 296.6 MB, free: 15.99 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.1746, allocations: 11.5 kB / 296.6 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1746, allocations: 1.75 kB / 296.6 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.1746, allocations: 3.594 kB / 296.6 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.1748, allocations: 102.2 kB / 296.7 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1748, allocations: 3.562 kB / 296.7 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.645e-05/0.1749, allocations: 24.58 kB / 296.7 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.1749, allocations: 17.8 kB / 296.7 MB, free: 15.96 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 8.964e-05/0.175, allocations: 134.3 kB / 296.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.221e-05/0.1751, allocations: 44.64 kB / 296.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/0.1753, allocations: 138.1 kB / 297 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.1753, allocations: 3.594 kB / 297 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.1753, allocations: 4 kB / 297 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.1753, allocations: 3.984 kB / 297.1 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005255/0.1759, allocations: 447.8 kB / 297.5 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1759, allocations: 2.812 kB / 297.5 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.1761, allocations: 88.19 kB / 297.6 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.1761, allocations: 38.17 kB / 297.6 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.1761, allocations: 4 kB / 297.6 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.1761, allocations: 11.73 kB / 297.6 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1761, allocations: 4 kB / 297.6 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1761, allocations: 0 / 297.6 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003781/0.1765, allocations: 492.6 kB / 298.1 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.1765, allocations: 9.5 kB / 298.1 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.1766, allocations: 19.7 kB / 298.1 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.292e-05/0.1767, allocations: 32.45 kB / 298.2 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.1767, allocations: 11.94 kB / 298.2 MB, free: 14.87 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.59e-05/0.1767, allocations: 21.64 kB / 298.2 MB, free: 14.85 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1767, allocations: 0 / 298.2 MB, free: 14.85 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002147/0.1788, allocations: 0.9796 MB / 299.2 MB, free: 13.93 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.003284/0.1821, allocations: 1.524 MB / 300.7 MB, free: 12.57 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003287/0.1825, allocations: 203 kB / 300.9 MB, free: 12.39 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/0.1825, allocations: 4 kB / 300.9 MB, free: 12.39 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.1826, allocations: 117.3 kB / 301 MB, free: 12.29 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.183, allocations: 132 kB / 301.2 MB, free: 12.18 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002503/0.1855, allocations: 473.7 kB / 301.6 MB, free: 11.73 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.431e-05/0.1855, allocations: 85.33 kB / 301.7 MB, free: 11.62 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002051/0.1857, allocations: 72.95 kB / 301.8 MB, free: 11.55 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002229/0.186, allocations: 136.7 kB / 301.9 MB, free: 11.42 MB / 282.7 MB Notification: Performance of SimCode: time 1.092e-06/0.186, allocations: 0 / 301.9 MB, free: 11.42 MB / 282.7 MB Notification: Performance of Templates: time 0.0363/0.2223, allocations: 35.03 MB / 336.9 MB, free: 8.594 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 -ignoreHideResult -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.8850753996521235]