Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001894/0.001894, allocations: 81.86 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002351/0.002351, allocations: 162.6 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 177.1 MB / 204.7 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 61.42 kB / 325.5 MB, free: 400 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09219/0.09416, allocations: 53.39 MB / 378.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03461/0.1288, allocations: 24.03 MB / 402.9 MB, free: 7.496 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002999/0.1318, allocations: 2.014 MB / 405 MB, free: 5.477 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.426e-05/0.1318, allocations: 7.938 kB / 405 MB, free: 5.469 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000344/0.1322, allocations: 55.66 kB / 405 MB, free: 5.414 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000395/0.1326, allocations: 159.1 kB / 405.2 MB, free: 5.258 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01609/0.1487, allocations: 6.513 MB / 411.7 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005523/0.1492, allocations: 338.6 kB / 412 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.447e-05/0.1493, allocations: 9.812 kB / 412 MB, free: 14.4 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002651/0.1495, allocations: 147.5 kB / 412.2 MB, free: 14.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002574/0.1498, allocations: 127.5 kB / 412.3 MB, free: 14.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.604e-05/0.1498, allocations: 15.94 kB / 412.3 MB, free: 14.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01727/0.1671, allocations: 8.983 MB / 421.3 MB, free: 5.121 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.1673, allocations: 71.8 kB / 421.4 MB, free: 5.051 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.1674, allocations: 87.7 kB / 421.4 MB, free: 4.965 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009474/0.1769, allocations: 4.685 MB / 426.1 MB, free: 276 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1769, allocations: 0 / 426.1 MB, free: 276 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1769, allocations: 0 / 426.1 MB, free: 276 kB / 382.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1769, allocations: 3.938 kB / 426.1 MB, free: 272 kB / 382.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.002853/0.1798, allocations: 1.094 MB / 427.2 MB, free: 15.13 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.1798, allocations: 15.98 kB / 427.2 MB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.18, allocations: 24.22 kB / 427.3 MB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.1803, allocations: 164.9 kB / 427.4 MB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.548e-05/0.1803, allocations: 16.27 kB / 427.4 MB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.773e-05/0.1803, allocations: 19.94 kB / 427.5 MB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008198/0.1812, allocations: 400.2 kB / 427.9 MB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.1812, allocations: 0 / 427.9 MB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.916e-05/0.1812, allocations: 4 kB / 427.9 MB, free: 14.44 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.468e-05/0.1812, allocations: 11.94 kB / 427.9 MB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008294/0.1821, allocations: 307.7 kB / 428.2 MB, free: 14.13 MB / 398.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.001425/0.1835, allocations: 0.6596 MB / 428.8 MB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007222/0.1842, allocations: 237.3 kB / 429.1 MB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003268/0.1845, allocations: 133.9 kB / 429.2 MB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0114/0.1959, allocations: 2.697 MB / 431.9 MB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.196, allocations: 34.56 kB / 431.9 MB, free: 10.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 2.074e-06/0.196, allocations: 3.938 kB / 431.9 MB, free: 10.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.00287/0.1989, allocations: 0.7023 MB / 432.6 MB, free: 9.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.1989, allocations: 85.11 kB / 432.7 MB, free: 9.488 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.1991, allocations: 153 kB / 432.9 MB, free: 9.332 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/0.1991, allocations: 33.7 kB / 432.9 MB, free: 9.293 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.709e-05/0.1992, allocations: 112.9 kB / 433 MB, free: 9.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.1993, allocations: 126.9 kB / 433.1 MB, free: 9.055 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.1994, allocations: 73.62 kB / 433.2 MB, free: 8.977 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.1996, allocations: 334.7 kB / 433.5 MB, free: 8.641 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004008/0.2, allocations: 135.9 kB / 433.7 MB, free: 8.508 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005184/0.2005, allocations: 203.6 kB / 433.9 MB, free: 8.281 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009968/0.2015, allocations: 366.2 kB / 434.2 MB, free: 7.898 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2015, allocations: 0 / 434.2 MB, free: 7.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00124/0.2027, allocations: 432.6 kB / 434.6 MB, free: 7.473 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.2027, allocations: 4 kB / 434.6 MB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2028, allocations: 4 kB / 434.7 MB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.2028, allocations: 4 kB / 434.7 MB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00048/0.2033, allocations: 88.09 kB / 434.7 MB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/0.2033, allocations: 11.88 kB / 434.8 MB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003087/0.2036, allocations: 31.88 kB / 434.8 MB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-05/0.2036, allocations: 15.98 kB / 434.8 MB, free: 7.316 MB / 398.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.0001465/0.2038, allocations: 141.8 kB / 434.9 MB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.2039, allocations: 19.91 kB / 435 MB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005031/0.2044, allocations: 194.8 kB / 435.1 MB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.2044, allocations: 7.938 kB / 435.2 MB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2044, allocations: 0 / 435.2 MB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.2044, allocations: 3.984 kB / 435.2 MB, free: 6.938 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/0.2062, allocations: 0.6722 MB / 435.8 MB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.2062, allocations: 4 kB / 435.8 MB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004529/0.2067, allocations: 88.03 kB / 435.9 MB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.2067, allocations: 4 kB / 435.9 MB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.069e-05/0.2067, allocations: 11.98 kB / 435.9 MB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.618e-06/0.2067, allocations: 7.938 kB / 435.9 MB, free: 6.102 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2067, allocations: 0 / 435.9 MB, free: 6.102 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.2084, allocations: 0.7185 MB / 436.7 MB, free: 5.348 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.2085, allocations: 51.78 kB / 436.7 MB, free: 5.297 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.246e-05/0.2085, allocations: 11.94 kB / 436.7 MB, free: 5.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003632/0.2089, allocations: 19.97 kB / 436.7 MB, free: 5.266 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.2089, allocations: 27.97 kB / 436.8 MB, free: 5.238 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.872e-05/0.209, allocations: 23.98 kB / 436.8 MB, free: 5.215 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.276e-05/0.2091, allocations: 115.1 kB / 436.9 MB, free: 5.102 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2091, allocations: 0 / 436.9 MB, free: 5.102 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002474/0.2115, allocations: 0.9589 MB / 437.9 MB, free: 4.141 MB / 398.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 (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.003399/0.2149, allocations: 1.25 MB / 439.1 MB, free: 2.875 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.2159, allocations: 330.8 kB / 439.4 MB, free: 2.555 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2159, allocations: 448 / 439.4 MB, free: 2.555 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004854/0.2164, allocations: 170.5 kB / 439.6 MB, free: 2.391 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007414/0.2172, allocations: 104.1 kB / 439.7 MB, free: 2.289 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.2186, allocations: 0.6256 MB / 440.3 MB, free: 1.621 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001422/0.2187, allocations: 137.8 kB / 440.5 MB, free: 1.465 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003179/0.219, allocations: 82.22 kB / 440.5 MB, free: 1.387 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.2192, allocations: 44.48 kB / 440.6 MB, free: 1.344 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2192, allocations: 0 / 440.6 MB, free: 1.344 MB / 398.1 MB Notification: Performance of Templates: time 0.04535/0.2645, allocations: 30.09 MB / 470.7 MB, free: 3.328 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.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: 6.517330699949525]