Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009717/0.0009717, allocations: 83.59 kB / 21.18 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9582/0.9582, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 273 MB, free: 1.523 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.195e-05, allocations: 2.312 kB / 273 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1289/0.1289, allocations: 26.49 MB / 299.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002415/0.1313, allocations: 2.249 MB / 301.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.1314, allocations: 1.219 kB / 301.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003608/0.1318, allocations: 58.05 kB / 301.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003966/0.1322, allocations: 175.5 kB / 302 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01406/0.1462, allocations: 6.583 MB / 308.5 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004819/0.1467, allocations: 345.6 kB / 308.9 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.417e-05/0.1468, allocations: 6.969 kB / 308.9 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002795/0.147, allocations: 196.9 kB / 309.1 MB, free: 9.941 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.1472, allocations: 110 kB / 309.2 MB, free: 9.891 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.961e-05/0.1473, allocations: 10 kB / 309.2 MB, free: 9.891 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01351/0.1608, allocations: 9.02 MB / 318.2 MB, free: 3.918 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.1609, allocations: 83.78 kB / 318.3 MB, free: 3.836 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.1611, allocations: 75.83 kB / 318.4 MB, free: 3.762 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009993/0.1711, allocations: 5.865 MB / 324.2 MB, free: 13.88 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1711, allocations: 0 / 324.2 MB, free: 13.88 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1711, allocations: 0 / 324.2 MB, free: 13.88 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1711, allocations: 7.938 kB / 324.2 MB, free: 13.88 MB / 282.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.002696/0.1738, allocations: 1.178 MB / 325.4 MB, free: 12.65 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.1738, allocations: 12.03 kB / 325.4 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002034/0.174, allocations: 47.78 kB / 325.5 MB, free: 12.6 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.1743, allocations: 175.7 kB / 325.6 MB, free: 12.4 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.1743, allocations: 12.33 kB / 325.7 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.346e-05/0.1744, allocations: 23.95 kB / 325.7 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005211/0.1749, allocations: 330.6 kB / 326 MB, free: 12 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.1749, allocations: 0 / 326 MB, free: 12 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/0.1749, allocations: 4 kB / 326 MB, free: 12 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.351e-05/0.175, allocations: 8 kB / 326 MB, free: 11.99 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003552/0.1753, allocations: 159.8 kB / 326.2 MB, free: 11.83 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.001072/0.1764, allocations: 0.7034 MB / 326.9 MB, free: 11.09 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004413/0.1768, allocations: 234.2 kB / 327.1 MB, free: 10.84 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.1769, allocations: 95.27 kB / 327.2 MB, free: 10.73 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005318/0.1823, allocations: 2.711 MB / 329.9 MB, free: 8.02 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.1823, allocations: 41.39 kB / 329.9 MB, free: 7.969 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 1.753e-06/0.1823, allocations: 0 / 329.9 MB, free: 7.969 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.00123/0.1835, allocations: 0.5355 MB / 330.5 MB, free: 7.43 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.1836, allocations: 85.05 kB / 330.6 MB, free: 7.328 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.865e-05/0.1837, allocations: 197.3 kB / 330.8 MB, free: 7.121 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.1837, allocations: 33.69 kB / 330.8 MB, free: 7.082 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003044/0.184, allocations: 163.7 kB / 331 MB, free: 6.914 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.687e-05/0.1841, allocations: 138.8 kB / 331.1 MB, free: 6.777 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-05/0.1842, allocations: 75.34 kB / 331.2 MB, free: 6.695 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1843, allocations: 0.5001 MB / 331.7 MB, free: 6.184 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.1844, allocations: 87.95 kB / 331.7 MB, free: 6.098 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.1846, allocations: 177.1 kB / 331.9 MB, free: 5.887 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003427/0.1849, allocations: 276 kB / 332.2 MB, free: 5.582 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1849, allocations: 0 / 332.2 MB, free: 5.582 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004919/0.1854, allocations: 346.3 kB / 332.5 MB, free: 5.238 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.1854, allocations: 4 kB / 332.5 MB, free: 5.234 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.1854, allocations: 8.156 kB / 332.5 MB, free: 5.227 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1854, allocations: 8 kB / 332.5 MB, free: 5.219 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.1856, allocations: 75.89 kB / 332.6 MB, free: 5.145 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1857, allocations: 4 kB / 332.6 MB, free: 5.141 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.1858, allocations: 27.88 kB / 332.7 MB, free: 5.113 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/0.1858, allocations: 19.94 kB / 332.7 MB, free: 5.094 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.1859, allocations: 180.4 kB / 332.8 MB, free: 4.906 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.186, allocations: 47.67 kB / 332.9 MB, free: 4.859 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002781/0.1863, allocations: 178.2 kB / 333.1 MB, free: 4.688 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.1863, allocations: 4 kB / 333.1 MB, free: 4.684 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1863, allocations: 0 / 333.1 MB, free: 4.684 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1863, allocations: 0 / 333.1 MB, free: 4.684 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007409/0.187, allocations: 0.6442 MB / 333.7 MB, free: 3.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1871, allocations: 0 / 333.7 MB, free: 3.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.1872, allocations: 71.89 kB / 333.8 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.299e-06/0.1872, allocations: 11.88 kB / 333.8 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.1873, allocations: 11.98 kB / 333.8 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.1873, allocations: 4 kB / 333.8 MB, free: 3.883 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1873, allocations: 8.438 kB / 333.8 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006099/0.1879, allocations: 0.666 MB / 334.5 MB, free: 3.168 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.995e-05/0.1879, allocations: 55.69 kB / 334.5 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.188, allocations: 8 kB / 334.6 MB, free: 3.105 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.1881, allocations: 15.98 kB / 334.6 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-05/0.1881, allocations: 27.95 kB / 334.6 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.1882, allocations: 20.02 kB / 334.6 MB, free: 3.043 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.941e-05/0.1882, allocations: 143.2 kB / 334.8 MB, free: 2.902 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1882, allocations: 0 / 334.8 MB, free: 2.902 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002016/0.1902, allocations: 0.9628 MB / 335.7 MB, free: 1.938 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.002927/0.1932, allocations: 1.376 MB / 337.1 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004171/0.1936, allocations: 259.1 kB / 337.3 MB, free: 308 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1936, allocations: 0 / 337.3 MB, free: 308 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001804/0.1938, allocations: 148 kB / 337.5 MB, free: 156 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/0.1942, allocations: 114 kB / 337.6 MB, free: 44 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.1956, allocations: 0.5403 MB / 338.1 MB, free: 15.45 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.477e-05/0.1956, allocations: 86.23 kB / 338.2 MB, free: 15.35 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002239/0.1959, allocations: 78.22 kB / 338.3 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.196, allocations: 44.48 kB / 338.3 MB, free: 15.23 MB / 298.7 MB Notification: Performance of SimCode: time 1.001e-06/0.196, allocations: 0 / 338.3 MB, free: 15.23 MB / 298.7 MB Notification: Performance of Templates: time 0.03564/0.2316, allocations: 36.47 MB / 374.8 MB, free: 10.84 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 4.340200385078788]