Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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.001082/0.001082, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001559/0.002642, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001029/0.001029, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001099/0.002127, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8558/0.8558, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1337/0.9895, allocations: 49.48 MB / 220.5 MB, free: 1.457 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 221.8 MB, free: 204 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.453e-05, allocations: 13.41 kB / 221.8 MB, free: 192 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2357/0.2358, allocations: 145.5 MB / 367.3 MB, free: 13.49 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008434/0.2366, allocations: 0.6097 MB / 367.9 MB, free: 12.89 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.146e-05/0.2367, allocations: 3.938 kB / 367.9 MB, free: 12.89 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002597/0.2369, allocations: 55.67 kB / 368 MB, free: 12.83 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002954/0.2372, allocations: 164.4 kB / 368.1 MB, free: 12.68 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002392/0.2396, allocations: 1.067 MB / 369.2 MB, free: 11.62 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003471/0.24, allocations: 338.7 kB / 369.5 MB, free: 11.29 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.315e-05/0.24, allocations: 14.28 kB / 369.5 MB, free: 11.28 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002784/0.2403, allocations: 203.4 kB / 369.7 MB, free: 11.08 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.2405, allocations: 111.7 kB / 369.8 MB, free: 10.97 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.836e-05/0.2405, allocations: 12 kB / 369.8 MB, free: 10.96 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002117/0.2426, allocations: 1.419 MB / 371.3 MB, free: 9.539 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.825e-05/0.2427, allocations: 59.83 kB / 371.3 MB, free: 9.48 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.163e-05/0.2428, allocations: 55.94 kB / 371.4 MB, free: 9.426 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001289/0.2441, allocations: 0.8806 MB / 372.3 MB, free: 8.543 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.239e-05/0.2441, allocations: 0 / 372.3 MB, free: 8.543 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2441, allocations: 4 kB / 372.3 MB, free: 8.539 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.2441, allocations: 0 / 372.3 MB, free: 8.539 MB / 330.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.001223/0.2453, allocations: 0.7612 MB / 373 MB, free: 7.734 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.2454, allocations: 16.03 kB / 373 MB, free: 7.719 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000146/0.2455, allocations: 36.84 kB / 373.1 MB, free: 7.684 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.2457, allocations: 137.6 kB / 373.2 MB, free: 7.523 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.2457, allocations: 12.89 kB / 373.2 MB, free: 7.512 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.111e-05/0.2457, allocations: 21.19 kB / 373.2 MB, free: 7.492 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003184/0.2461, allocations: 299.8 kB / 373.5 MB, free: 7.16 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.2461, allocations: 0 / 373.5 MB, free: 7.16 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/0.2461, allocations: 12 kB / 373.5 MB, free: 7.148 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/0.2461, allocations: 7.938 kB / 373.6 MB, free: 7.141 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.2463, allocations: 110.6 kB / 373.7 MB, free: 7.031 MB / 330.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.0008503/0.2472, allocations: 0.5006 MB / 374.2 MB, free: 6.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.2474, allocations: 146.1 kB / 374.3 MB, free: 6.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.021e-05/0.2475, allocations: 65.69 kB / 374.4 MB, free: 6.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000133/0.2477, allocations: 51.97 kB / 374.4 MB, free: 6.219 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.2477, allocations: 40.56 kB / 374.5 MB, free: 6.172 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 1.884e-06/0.2477, allocations: 0 / 374.5 MB, free: 6.172 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0008662/0.2486, allocations: 377 kB / 374.8 MB, free: 5.801 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.2486, allocations: 81.11 kB / 374.9 MB, free: 5.703 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.62e-05/0.2487, allocations: 130.5 kB / 375 MB, free: 5.562 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.2487, allocations: 33.7 kB / 375.1 MB, free: 5.523 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/0.2488, allocations: 112.9 kB / 375.2 MB, free: 5.406 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.097e-05/0.2488, allocations: 134.8 kB / 375.3 MB, free: 5.273 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.265e-05/0.2489, allocations: 69.61 kB / 375.4 MB, free: 5.199 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.473e-05/0.249, allocations: 326.8 kB / 375.7 MB, free: 4.871 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.582e-05/0.2491, allocations: 50.81 kB / 375.7 MB, free: 4.82 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.2492, allocations: 127.7 kB / 375.9 MB, free: 4.668 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.2495, allocations: 209 kB / 376.1 MB, free: 4.438 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2495, allocations: 4 kB / 376.1 MB, free: 4.434 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002919/0.2498, allocations: 224.2 kB / 376.3 MB, free: 4.207 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.2498, allocations: 4 kB / 376.3 MB, free: 4.203 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.2498, allocations: 4 kB / 376.3 MB, free: 4.199 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.2498, allocations: 4 kB / 376.3 MB, free: 4.195 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/0.2501, allocations: 99.81 kB / 376.4 MB, free: 4.098 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.2501, allocations: 11.92 kB / 376.4 MB, free: 4.086 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.2502, allocations: 20.11 kB / 376.4 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.778e-05/0.2503, allocations: 20.69 kB / 376.5 MB, free: 4.047 MB / 330.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.696e-05/0.2504, allocations: 128.6 kB / 376.6 MB, free: 3.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.374e-05/0.2504, allocations: 23.98 kB / 376.6 MB, free: 3.887 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001999/0.2506, allocations: 134 kB / 376.7 MB, free: 3.758 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.2506, allocations: 4 kB / 376.7 MB, free: 3.754 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.2506, allocations: 0 / 376.7 MB, free: 3.754 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.2506, allocations: 3.938 kB / 376.7 MB, free: 3.75 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006931/0.2513, allocations: 436.4 kB / 377.2 MB, free: 3.285 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.2513, allocations: 16.12 kB / 377.2 MB, free: 3.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002607/0.2516, allocations: 79.83 kB / 377.3 MB, free: 3.191 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.602e-05/0.2517, allocations: 43.8 kB / 377.3 MB, free: 3.148 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.2517, allocations: 0 / 377.3 MB, free: 3.148 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.2517, allocations: 11.94 kB / 377.3 MB, free: 3.137 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.2517, allocations: 7.938 kB / 377.3 MB, free: 3.129 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2517, allocations: 4 kB / 377.3 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004413/0.2521, allocations: 471.4 kB / 377.8 MB, free: 2.633 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.2522, allocations: 8 kB / 377.8 MB, free: 2.625 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.2524, allocations: 19.98 kB / 377.8 MB, free: 2.605 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.136e-05/0.2524, allocations: 19.95 kB / 377.8 MB, free: 2.586 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.373e-05/0.2524, allocations: 12 kB / 377.9 MB, free: 2.574 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.021e-05/0.2524, allocations: 20.83 kB / 377.9 MB, free: 2.551 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2524, allocations: 0 / 377.9 MB, free: 2.551 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005664/0.253, allocations: 207.5 kB / 378.1 MB, free: 2.348 MB / 330.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.0006889/0.2537, allocations: 362.1 kB / 378.4 MB, free: 2 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002824/0.254, allocations: 199.2 kB / 378.6 MB, free: 1.805 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/0.254, allocations: 3.938 kB / 378.6 MB, free: 1.801 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.2541, allocations: 118 kB / 378.7 MB, free: 1.684 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004898/0.2546, allocations: 133.7 kB / 378.9 MB, free: 1.559 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003023/0.2576, allocations: 497 kB / 379.4 MB, free: 1.031 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.031e-05/0.2577, allocations: 89.11 kB / 379.4 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002384/0.2579, allocations: 57.92 kB / 379.5 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002714/0.2582, allocations: 133.3 kB / 379.6 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of SimCode: time 9.11e-07/0.2582, allocations: 0 / 379.6 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of Templates: time 0.01044/0.2686, allocations: 8.782 MB / 388.4 MB, free: 7.953 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.8073924453929067]