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.001393/0.001393, allocations: 84.25 kB / 22.21 MB, free: 2.289 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.001022/0.001022, allocations: 166.7 kB / 25.61 MB, free: 8.445 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.8768/0.8768, allocations: 177 MB / 205.9 MB, free: 4.453 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.102e-06/1.102e-06, allocations: 0 / 274.1 MB, free: 4.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.505e-05/1.615e-05, allocations: 4.422 kB / 274.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2268/0.2268, allocations: 144.7 MB / 418.8 MB, free: 15.73 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.2281, allocations: 1.577 MB / 420.4 MB, free: 14.16 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.155e-05/0.2281, allocations: 0 / 420.4 MB, free: 14.16 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003034/0.2284, allocations: 63.59 kB / 420.4 MB, free: 14.1 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002861/0.2287, allocations: 177 kB / 420.6 MB, free: 13.93 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002092/0.2308, allocations: 1.07 MB / 421.7 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002954/0.2311, allocations: 362.5 kB / 422 MB, free: 12.51 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.963e-05/0.2312, allocations: 9.797 kB / 422 MB, free: 12.5 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002412/0.2314, allocations: 215.4 kB / 422.2 MB, free: 12.29 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.2316, allocations: 123.6 kB / 422.4 MB, free: 12.17 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.2316, allocations: 12 kB / 422.4 MB, free: 12.16 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001501/0.2331, allocations: 1.372 MB / 423.8 MB, free: 10.78 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.984e-05/0.2332, allocations: 75.84 kB / 423.8 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.064e-05/0.2332, allocations: 79.83 kB / 423.9 MB, free: 10.63 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.2344, allocations: 1.091 MB / 425 MB, free: 9.535 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2344, allocations: 0 / 425 MB, free: 9.535 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2344, allocations: 0 / 425 MB, free: 9.535 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.2344, allocations: 4 kB / 425 MB, free: 9.531 MB / 346.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.0009903/0.2354, allocations: 0.7137 MB / 425.7 MB, free: 8.781 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.843e-05/0.2354, allocations: 8.031 kB / 425.7 MB, free: 8.773 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.2355, allocations: 44.77 kB / 425.8 MB, free: 8.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.2357, allocations: 164.5 kB / 425.9 MB, free: 8.543 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.2357, allocations: 20.2 kB / 425.9 MB, free: 8.523 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.607e-05/0.2357, allocations: 23.95 kB / 426 MB, free: 8.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.236, allocations: 310.6 kB / 426.3 MB, free: 8.156 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.236, allocations: 0 / 426.3 MB, free: 8.156 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.236, allocations: 4 kB / 426.3 MB, free: 8.152 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.118e-05/0.2361, allocations: 8 kB / 426.3 MB, free: 8.145 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.2362, allocations: 130.1 kB / 426.4 MB, free: 8.02 MB / 346.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.0007556/0.237, allocations: 0.6394 MB / 427 MB, free: 7.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.2372, allocations: 170.2 kB / 427.2 MB, free: 7.148 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.065e-05/0.2373, allocations: 80.2 kB / 427.3 MB, free: 7.062 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.2374, allocations: 59.89 kB / 427.4 MB, free: 7.004 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.2374, allocations: 41.39 kB / 427.4 MB, free: 6.953 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 1.693e-06/0.2374, allocations: 0 / 427.4 MB, free: 6.953 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.0008023/0.2383, allocations: 426.8 kB / 427.8 MB, free: 6.531 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.2383, allocations: 85.05 kB / 427.9 MB, free: 6.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.015e-05/0.2384, allocations: 201.8 kB / 428.1 MB, free: 6.215 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.2384, allocations: 41.64 kB / 428.1 MB, free: 6.168 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.927e-05/0.2384, allocations: 163.6 kB / 428.3 MB, free: 6.004 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.847e-05/0.2385, allocations: 130.9 kB / 428.4 MB, free: 5.875 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.743e-05/0.2386, allocations: 75.31 kB / 428.5 MB, free: 5.793 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003425/0.2389, allocations: 0.5001 MB / 429 MB, free: 5.281 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.834e-05/0.239, allocations: 59.95 kB / 429 MB, free: 5.223 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.2391, allocations: 165 kB / 429.2 MB, free: 5.023 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.2393, allocations: 244.3 kB / 429.4 MB, free: 4.754 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2393, allocations: 4.562 kB / 429.5 MB, free: 4.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003146/0.2397, allocations: 285.2 kB / 429.7 MB, free: 4.465 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.2397, allocations: 8 kB / 429.7 MB, free: 4.457 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.2397, allocations: 0 / 429.7 MB, free: 4.457 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.2397, allocations: 4 kB / 429.7 MB, free: 4.453 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.2399, allocations: 75.89 kB / 429.8 MB, free: 4.379 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.2399, allocations: 11.56 kB / 429.8 MB, free: 4.371 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.24, allocations: 20.16 kB / 429.8 MB, free: 4.352 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.24, allocations: 15.98 kB / 429.9 MB, free: 4.336 MB / 346.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 9.302e-05/0.2401, allocations: 176.5 kB / 430 MB, free: 4.152 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.273e-05/0.2402, allocations: 35.8 kB / 430.1 MB, free: 4.117 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001959/0.2404, allocations: 152.2 kB / 430.2 MB, free: 3.965 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.2404, allocations: 4 kB / 430.2 MB, free: 3.961 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.2404, allocations: 0 / 430.2 MB, free: 3.961 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.2404, allocations: 7.922 kB / 430.2 MB, free: 3.953 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006468/0.2411, allocations: 0.5863 MB / 430.8 MB, free: 3.312 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2411, allocations: 4.156 kB / 430.8 MB, free: 3.309 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/0.2412, allocations: 75.89 kB / 430.9 MB, free: 3.234 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.2412, allocations: 3.938 kB / 430.9 MB, free: 3.23 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.2413, allocations: 12 kB / 430.9 MB, free: 3.219 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.103e-06/0.2413, allocations: 0 / 430.9 MB, free: 3.219 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.2413, allocations: 11.92 kB / 430.9 MB, free: 3.207 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004519/0.2417, allocations: 0.6121 MB / 431.5 MB, free: 2.551 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.868e-05/0.2418, allocations: 39.86 kB / 431.6 MB, free: 2.512 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.2418, allocations: 8 kB / 431.6 MB, free: 2.504 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.242, allocations: 15.98 kB / 431.6 MB, free: 2.488 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/0.242, allocations: 35.83 kB / 431.6 MB, free: 2.453 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.242, allocations: 12 kB / 431.6 MB, free: 2.441 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.415e-05/0.2421, allocations: 145.8 kB / 431.8 MB, free: 2.301 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2421, allocations: 0 / 431.8 MB, free: 2.301 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003896/0.2424, allocations: 151.7 kB / 431.9 MB, free: 2.152 MB / 346.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.0003126/0.2428, allocations: 242.7 kB / 432.2 MB, free: 1.902 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002569/0.243, allocations: 227.1 kB / 432.4 MB, free: 1.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.243, allocations: 0 / 432.4 MB, free: 1.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.2431, allocations: 133.6 kB / 432.5 MB, free: 1.547 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/0.2436, allocations: 103.7 kB / 432.6 MB, free: 1.457 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008589/0.2444, allocations: 0.5402 MB / 433.2 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.4e-05/0.2445, allocations: 89.64 kB / 433.3 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001807/0.2447, allocations: 66.23 kB / 433.3 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/0.2449, allocations: 174 kB / 433.5 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of SimCode: time 5.91e-07/0.2449, allocations: 0 / 433.5 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of Templates: time 0.008232/0.2531, allocations: 7.514 MB / 441 MB, free: 9.152 MB / 362.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: 2.9173778989352286]