Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.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.001329/0.001329, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.001578/0.001578, allocations: 164.4 kB / 24.91 MB, free: 8.719 MB / 18.57 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 0.9459/0.9459, allocations: 177 MB / 205.2 MB, free: 5.055 MB / 186.7 MB " [Timeout remaining time 179] 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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 273.4 MB, free: 1.109 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.813e-05/1.948e-05, allocations: 2.312 kB / 273.4 MB, free: 1.105 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2266/0.2266, allocations: 146.8 MB / 420.2 MB, free: 14.3 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.228, allocations: 1.612 MB / 421.8 MB, free: 12.7 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.266e-05/0.2281, allocations: 3.938 kB / 421.8 MB, free: 12.69 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003191/0.2284, allocations: 59.66 kB / 421.9 MB, free: 12.63 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000319/0.2287, allocations: 179.8 kB / 422 MB, free: 12.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002153/0.2309, allocations: 1.071 MB / 423.1 MB, free: 11.4 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003535/0.2312, allocations: 366.5 kB / 423.5 MB, free: 11.04 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.851e-05/0.2313, allocations: 6.469 kB / 423.5 MB, free: 11.03 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002561/0.2315, allocations: 211.4 kB / 423.7 MB, free: 10.82 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.2317, allocations: 123.7 kB / 423.8 MB, free: 10.7 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/0.2317, allocations: 12 kB / 423.8 MB, free: 10.69 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001527/0.2333, allocations: 1.36 MB / 425.2 MB, free: 9.328 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.157e-05/0.2333, allocations: 75.8 kB / 425.2 MB, free: 9.254 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.59e-05/0.2334, allocations: 83.83 kB / 425.3 MB, free: 9.172 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.2346, allocations: 1.091 MB / 426.4 MB, free: 8.078 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2346, allocations: 0 / 426.4 MB, free: 8.078 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.2346, allocations: 0 / 426.4 MB, free: 8.078 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.2346, allocations: 3.938 kB / 426.4 MB, free: 8.074 MB / 378.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.0009478/0.2356, allocations: 0.5896 MB / 427 MB, free: 7.461 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.2356, allocations: 11.98 kB / 427 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.2357, allocations: 44.83 kB / 427.1 MB, free: 7.406 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.2359, allocations: 149.7 kB / 427.2 MB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.2359, allocations: 16.27 kB / 427.2 MB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/0.236, allocations: 16 kB / 427.2 MB, free: 7.203 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002692/0.2362, allocations: 311.8 kB / 427.5 MB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.2362, allocations: 0 / 427.5 MB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.2363, allocations: 8 kB / 427.5 MB, free: 6.852 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/0.2363, allocations: 5.188 kB / 427.6 MB, free: 6.848 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.2364, allocations: 106.6 kB / 427.7 MB, free: 6.742 MB / 378.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.0007018/0.2371, allocations: 0.5006 MB / 428.2 MB, free: 6.211 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.2374, allocations: 137.1 kB / 428.3 MB, free: 6.059 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.412e-05/0.2374, allocations: 74.25 kB / 428.4 MB, free: 5.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/0.2376, allocations: 49.09 kB / 428.4 MB, free: 5.934 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.2376, allocations: 38.55 kB / 428.5 MB, free: 5.887 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 1.543e-06/0.2376, allocations: 0 / 428.5 MB, free: 5.887 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.0008181/0.2384, allocations: 374.8 kB / 428.8 MB, free: 5.516 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.2384, allocations: 85.05 kB / 428.9 MB, free: 5.414 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.461e-05/0.2385, allocations: 142.6 kB / 429 MB, free: 5.262 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.2385, allocations: 33.7 kB / 429.1 MB, free: 5.223 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.321e-05/0.2386, allocations: 108.9 kB / 429.2 MB, free: 5.113 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.6e-05/0.2386, allocations: 130.8 kB / 429.3 MB, free: 4.984 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.298e-05/0.2387, allocations: 65.66 kB / 429.4 MB, free: 4.914 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.583e-05/0.2388, allocations: 330.8 kB / 429.7 MB, free: 4.582 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.591e-05/0.2389, allocations: 66.73 kB / 429.8 MB, free: 4.516 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.662e-05/0.239, allocations: 114.3 kB / 429.9 MB, free: 4.379 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.2392, allocations: 212.1 kB / 430.1 MB, free: 4.145 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2392, allocations: 3.938 kB / 430.1 MB, free: 4.141 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002324/0.2394, allocations: 231.7 kB / 430.3 MB, free: 3.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.2394, allocations: 4 kB / 430.3 MB, free: 3.906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.2394, allocations: 4 kB / 430.3 MB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.2394, allocations: 8.219 kB / 430.3 MB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.2396, allocations: 79.83 kB / 430.4 MB, free: 3.816 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.2396, allocations: 7.938 kB / 430.4 MB, free: 3.809 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.2397, allocations: 23.89 kB / 430.4 MB, free: 3.785 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.2398, allocations: 11.98 kB / 430.4 MB, free: 3.773 MB / 378.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.521e-05/0.2398, allocations: 128.6 kB / 430.6 MB, free: 3.637 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.001e-05/0.2399, allocations: 27.97 kB / 430.6 MB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001668/0.2401, allocations: 128.4 kB / 430.7 MB, free: 3.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2401, allocations: 7.938 kB / 430.7 MB, free: 3.473 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.2401, allocations: 3.938 kB / 430.7 MB, free: 3.469 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.2401, allocations: 3.984 kB / 430.7 MB, free: 3.465 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005604/0.2406, allocations: 451.7 kB / 431.2 MB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.2406, allocations: 0 / 431.2 MB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.2408, allocations: 75.89 kB / 431.3 MB, free: 2.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.2408, allocations: 4 kB / 431.3 MB, free: 2.906 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.2408, allocations: 11.98 kB / 431.3 MB, free: 2.895 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2408, allocations: 0.875 kB / 431.3 MB, free: 2.895 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.2408, allocations: 8.094 kB / 431.3 MB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003649/0.2412, allocations: 473.3 kB / 431.7 MB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.1e-05/0.2413, allocations: 27.89 kB / 431.8 MB, free: 2.363 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.2413, allocations: 8 kB / 431.8 MB, free: 2.355 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.2414, allocations: 15.98 kB / 431.8 MB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.711e-05/0.2414, allocations: 28.67 kB / 431.8 MB, free: 2.312 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.2415, allocations: 14 kB / 431.8 MB, free: 2.301 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.375e-05/0.2415, allocations: 32.84 kB / 431.9 MB, free: 2.266 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2415, allocations: 0 / 431.9 MB, free: 2.266 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003588/0.2418, allocations: 151.6 kB / 432 MB, free: 2.117 MB / 378.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 (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.0003326/0.2422, allocations: 235.8 kB / 432.2 MB, free: 1.875 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002368/0.2424, allocations: 191.5 kB / 432.4 MB, free: 1.688 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.2424, allocations: 0 / 432.4 MB, free: 1.688 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.2425, allocations: 116.6 kB / 432.5 MB, free: 1.574 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.2429, allocations: 108.6 kB / 432.6 MB, free: 1.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008683/0.2438, allocations: 0.5074 MB / 433.2 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.971e-05/0.2438, allocations: 98.45 kB / 433.3 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001864/0.244, allocations: 66.25 kB / 433.3 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002312/0.2442, allocations: 135.2 kB / 433.4 MB, free: 0.625 MB / 378.7 MB Notification: Performance of SimCode: time 6.62e-07/0.2442, allocations: 0 / 433.4 MB, free: 0.625 MB / 378.7 MB Notification: Performance of Templates: time 0.1359/0.3801, allocations: 7.385 MB / 440.8 MB, free: 12.59 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/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.028754173312336]