Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.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.001829/0.001829, allocations: 81.27 kB / 20.68 MB, free: 1.023 MB / 14.72 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.002071/0.002071, allocations: 150.5 kB / 23.94 MB, free: 4.156 MB / 14.72 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 1.465/1.465, allocations: 173.3 MB / 200.4 MB, free: 12.89 MB / 190.1 MB " [Timeout remaining time 178] 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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 3.938 kB / 318.9 MB, free: 3.574 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.484e-05/2.661e-05, allocations: 6.219 kB / 318.9 MB, free: 3.566 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.165/0.165, allocations: 130.3 MB / 449.2 MB, free: 8.922 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002042/0.1671, allocations: 1.417 MB / 450.6 MB, free: 7.496 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.553e-05/0.1672, allocations: 0 / 450.6 MB, free: 7.496 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003716/0.1675, allocations: 63.59 kB / 450.7 MB, free: 7.434 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004491/0.168, allocations: 167 kB / 450.9 MB, free: 7.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003295/0.1713, allocations: 1.049 MB / 451.9 MB, free: 6.219 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004776/0.1718, allocations: 334.7 kB / 452.2 MB, free: 5.891 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.72e-05/0.1718, allocations: 13.56 kB / 452.2 MB, free: 5.879 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003794/0.1722, allocations: 203.4 kB / 452.4 MB, free: 5.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002475/0.1724, allocations: 111.7 kB / 452.5 MB, free: 5.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.303e-05/0.1725, allocations: 12 kB / 452.6 MB, free: 5.559 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002616/0.1751, allocations: 1.333 MB / 453.9 MB, free: 4.223 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.1752, allocations: 71.78 kB / 454 MB, free: 4.152 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.1754, allocations: 71.89 kB / 454 MB, free: 4.082 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002072/0.1774, allocations: 1.095 MB / 455.1 MB, free: 2.984 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.1774, allocations: 4 kB / 455.1 MB, free: 2.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1774, allocations: 0 / 455.1 MB, free: 2.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.657e-06/0.1774, allocations: 0 / 455.1 MB, free: 2.98 MB / 414.1 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.00197/0.1794, allocations: 0.6019 MB / 455.7 MB, free: 2.348 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.1795, allocations: 12.86 kB / 455.7 MB, free: 2.336 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.1796, allocations: 28.84 kB / 455.8 MB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.1799, allocations: 161.3 kB / 455.9 MB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.1799, allocations: 8.328 kB / 455.9 MB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.12e-05/0.18, allocations: 23.98 kB / 456 MB, free: 2.094 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007109/0.1807, allocations: 364.2 kB / 456.3 MB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.1807, allocations: 3.938 kB / 456.3 MB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.521e-05/0.1808, allocations: 8 kB / 456.3 MB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.507e-05/0.1808, allocations: 4 kB / 456.3 MB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007404/0.1815, allocations: 263.8 kB / 456.6 MB, free: 1.43 MB / 414.1 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.001482/0.183, allocations: 0.6164 MB / 457.2 MB, free: 0.7734 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007072/0.1837, allocations: 205.2 kB / 457.4 MB, free: 0.5547 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003503/0.1841, allocations: 133.4 kB / 457.5 MB, free: 432 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002205/0.1843, allocations: 51.95 kB / 457.6 MB, free: 380 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.1843, allocations: 38.5 kB / 457.6 MB, free: 332 kB / 414.1 MB Notification: Performance of pre-optimization done (n=29): time 1.753e-06/0.1843, allocations: 0 / 457.6 MB, free: 332 kB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002779/0.1871, allocations: 0.6806 MB / 458.3 MB, free: 15.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.1872, allocations: 81.11 kB / 458.4 MB, free: 15.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.1873, allocations: 121.8 kB / 458.5 MB, free: 15.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.446e-05/0.1873, allocations: 33.7 kB / 458.5 MB, free: 15.37 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.265e-05/0.1874, allocations: 112.9 kB / 458.7 MB, free: 15.26 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.1875, allocations: 122.9 kB / 458.8 MB, free: 15.14 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.1876, allocations: 69.69 kB / 458.8 MB, free: 15.06 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1878, allocations: 326.8 kB / 459.2 MB, free: 14.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004282/0.1882, allocations: 139.9 kB / 459.3 MB, free: 14.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005046/0.1887, allocations: 203.5 kB / 459.5 MB, free: 14.37 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009675/0.1897, allocations: 359.4 kB / 459.8 MB, free: 13.99 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1897, allocations: 0 / 459.8 MB, free: 13.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001132/0.1908, allocations: 412.4 kB / 460.2 MB, free: 13.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1908, allocations: 7.344 kB / 460.3 MB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.1908, allocations: 8.375 kB / 460.3 MB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.1909, allocations: 4 kB / 460.3 MB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005329/0.1914, allocations: 87.88 kB / 460.4 MB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.1914, allocations: 7.984 kB / 460.4 MB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000338/0.1917, allocations: 31.81 kB / 460.4 MB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.201e-05/0.1918, allocations: 15.98 kB / 460.4 MB, free: 13.43 MB / 430.1 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.0001732/0.1919, allocations: 145.7 kB / 460.5 MB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.869e-05/0.192, allocations: 19.91 kB / 460.6 MB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004124/0.1925, allocations: 177.8 kB / 460.7 MB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.1925, allocations: 8 kB / 460.8 MB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1925, allocations: 0 / 460.8 MB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.1925, allocations: 4 kB / 460.8 MB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/0.1943, allocations: 0.6463 MB / 461.4 MB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1943, allocations: 3.938 kB / 461.4 MB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004855/0.1948, allocations: 87.83 kB / 461.5 MB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.1948, allocations: 4 kB / 461.5 MB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.686e-05/0.1948, allocations: 11.98 kB / 461.5 MB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/0.1948, allocations: 7.938 kB / 461.5 MB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1948, allocations: 160 / 461.5 MB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.1965, allocations: 0.719 MB / 462.2 MB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.1966, allocations: 31.88 kB / 462.3 MB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.261e-05/0.1966, allocations: 15.98 kB / 462.3 MB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004162/0.197, allocations: 23.92 kB / 462.3 MB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.382e-05/0.1971, allocations: 27.89 kB / 462.3 MB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.93e-05/0.1971, allocations: 15.98 kB / 462.3 MB, free: 11.39 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.847e-05/0.1972, allocations: 91.28 kB / 462.4 MB, free: 11.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1972, allocations: 0 / 462.4 MB, free: 11.3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000628/0.1978, allocations: 139.7 kB / 462.6 MB, free: 11.16 MB / 430.1 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 (38): * Single equations (assignments): 38 * 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.0005456/0.1984, allocations: 234.8 kB / 462.8 MB, free: 10.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009979/0.1994, allocations: 339.8 kB / 463.1 MB, free: 10.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.1994, allocations: 0 / 463.1 MB, free: 10.59 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004673/0.1998, allocations: 164.5 kB / 463.3 MB, free: 10.43 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000776/0.2006, allocations: 106.2 kB / 463.4 MB, free: 10.33 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.2021, allocations: 0.5419 MB / 463.9 MB, free: 9.746 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001639/0.2023, allocations: 124.9 kB / 464.1 MB, free: 9.602 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003373/0.2026, allocations: 77.91 kB / 464.1 MB, free: 9.523 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.2027, allocations: 28.48 kB / 464.2 MB, free: 9.496 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2027, allocations: 7.938 kB / 464.2 MB, free: 9.488 MB / 430.1 MB Notification: Performance of Templates: time 0.01224/0.215, allocations: 6.028 MB / 470.2 MB, free: 3.57 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.diff",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.814761944115162]