Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.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.0009283/0.0009283, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.0009604/0.0009604, allocations: 162.8 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9711/0.9711, allocations: 177.1 MB / 206.1 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1571/0.1571, allocations: 34.26 MB / 296.8 MB, free: 13.93 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 379.3 MB, free: 23.44 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.086e-05/2.21e-05, allocations: 6.25 kB / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.288/0.288, allocations: 144.1 MB / 0.5111 GB, free: 13.9 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.2896, allocations: 1.442 MB / 0.5125 GB, free: 13.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.035e-05/0.2896, allocations: 2.906 kB / 0.5125 GB, free: 13.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000304/0.2899, allocations: 40.45 kB / 0.5126 GB, free: 13.8 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001846/0.2917, allocations: 1.106 MB / 0.5137 GB, free: 13.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.096e-06/0.2917, allocations: 4 kB / 0.5137 GB, free: 13.66 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.779e-05/0.2918, allocations: 70.58 kB / 0.5137 GB, free: 13.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.36e-05/0.2919, allocations: 2.812 kB / 0.5137 GB, free: 13.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.714e-05/0.2919, allocations: 36.14 kB / 0.5138 GB, free: 13.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.058e-05/0.292, allocations: 28.91 kB / 0.5138 GB, free: 13.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.919e-06/0.292, allocations: 1.969 kB / 0.5138 GB, free: 13.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001616/0.2936, allocations: 1.615 MB / 0.5154 GB, free: 13.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.997e-05/0.2936, allocations: 17.67 kB / 0.5154 GB, free: 13.6 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.082e-05/0.2937, allocations: 17.08 kB / 0.5154 GB, free: 13.6 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009061/0.2946, allocations: 1.04 MB / 0.5164 GB, free: 13.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.2946, allocations: 0 / 0.5164 GB, free: 13.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2946, allocations: 1.203 kB / 0.5164 GB, free: 13.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.2946, allocations: 0 / 0.5164 GB, free: 13.52 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004438/0.295, allocations: 0.5343 MB / 0.5169 GB, free: 13.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.2951, allocations: 8.75 kB / 0.517 GB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.677e-05/0.2951, allocations: 6.125 kB / 0.517 GB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.35e-05/0.2951, allocations: 111.6 kB / 0.5171 GB, free: 12.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.2952, allocations: 6.875 kB / 0.5171 GB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.2952, allocations: 12.06 kB / 0.5171 GB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.686e-05/0.2952, allocations: 51.83 kB / 0.5171 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.2952, allocations: 0.875 kB / 0.5171 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.475e-06/0.2953, allocations: 3.562 kB / 0.5171 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.239e-05/0.2953, allocations: 8.094 kB / 0.5171 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.358e-05/0.2953, allocations: 27.11 kB / 0.5172 GB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002624/0.2956, allocations: 290 kB / 0.5174 GB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.619e-05/0.2956, allocations: 41.55 kB / 0.5175 GB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.47e-05/0.2956, allocations: 16 kB / 0.5175 GB, free: 12.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.691e-05/0.2957, allocations: 27.42 kB / 0.5175 GB, free: 12.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.19e-05/0.2957, allocations: 35.64 kB / 0.5176 GB, free: 12.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.2957, allocations: 4 kB / 0.5176 GB, free: 12.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.000108/0.2958, allocations: 62.2 kB / 0.5176 GB, free: 12.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.492e-05/0.2958, allocations: 51.41 kB / 0.5177 GB, free: 12.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.52e-05/0.2959, allocations: 169.1 kB / 0.5178 GB, free: 12.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.899e-06/0.2959, allocations: 28.17 kB / 0.5179 GB, free: 12.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.788e-05/0.2959, allocations: 147.3 kB / 0.518 GB, free: 12.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.945e-06/0.2959, allocations: 15.97 kB / 0.518 GB, free: 12.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.441e-05/0.296, allocations: 27.91 kB / 0.518 GB, free: 12.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.605e-05/0.296, allocations: 0.4899 MB / 0.5185 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.939e-06/0.296, allocations: 7.656 kB / 0.5185 GB, free: 11.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.021e-05/0.296, allocations: 40.77 kB / 0.5186 GB, free: 11.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.539e-05/0.2961, allocations: 64.33 kB / 0.5186 GB, free: 11.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2961, allocations: 2.438 kB / 0.5186 GB, free: 11.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.257e-05/0.2961, allocations: 78.55 kB / 0.5187 GB, free: 11.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.2961, allocations: 5.5 kB / 0.5187 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.2961, allocations: 0 / 0.5187 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.764e-06/0.2961, allocations: 4 kB / 0.5187 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.428e-05/0.2962, allocations: 13.52 kB / 0.5187 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.2962, allocations: 6.125 kB / 0.5187 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.056e-05/0.2962, allocations: 10.94 kB / 0.5187 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.2962, allocations: 1.969 kB / 0.5187 GB, free: 11.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 7 * Array equations: 1 * 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 3.735e-05/0.2963, allocations: 166.2 kB / 0.5189 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.2963, allocations: 9.297 kB / 0.5189 GB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.25e-05/0.2964, allocations: 62.81 kB / 0.519 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.2964, allocations: 5.031 kB / 0.519 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.2964, allocations: 4 kB / 0.519 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2964, allocations: 1.094 kB / 0.519 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.806e-05/0.2965, allocations: 112.9 kB / 0.5191 GB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2965, allocations: 2.938 kB / 0.5191 GB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.463e-05/0.2965, allocations: 8.219 kB / 0.5191 GB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.12e-07/0.2965, allocations: 0 / 0.5191 GB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-06/0.2965, allocations: 4.625 kB / 0.5191 GB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.2965, allocations: 0 / 0.5191 GB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2965, allocations: 3.938 kB / 0.5191 GB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.067e-05/0.2965, allocations: 203.4 kB / 0.5193 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-06/0.2965, allocations: 10.61 kB / 0.5193 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.614e-06/0.2966, allocations: 1.203 kB / 0.5193 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.735e-05/0.2966, allocations: 2.531 kB / 0.5193 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.036e-05/0.2966, allocations: 1.969 kB / 0.5193 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.2966, allocations: 8.156 kB / 0.5193 GB, free: 10.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.336e-05/0.2966, allocations: 124.8 kB / 0.5194 GB, free: 10.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2966, allocations: 0 / 0.5194 GB, free: 10.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002852/0.2969, allocations: 151.1 kB / 0.5196 GB, free: 10.73 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (5): * Single equations (assignments): 4 * Array equations: 1 * 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.0004115/0.2973, allocations: 353.7 kB / 0.5199 GB, free: 10.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.203e-05/0.2974, allocations: 40.14 kB / 0.52 GB, free: 10.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.21e-07/0.2974, allocations: 0 / 0.52 GB, free: 10.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.475e-05/0.2974, allocations: 27.67 kB / 0.52 GB, free: 10.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.2976, allocations: 17.47 kB / 0.52 GB, free: 10.56 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004539/0.298, allocations: 181.5 kB / 0.5202 GB, free: 10.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.137e-05/0.2981, allocations: 58.58 kB / 0.5202 GB, free: 10.35 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.053e-05/0.2981, allocations: 20.02 kB / 0.5203 GB, free: 10.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.167e-05/0.2981, allocations: 79.64 kB / 0.5203 GB, free: 10.28 MB / 410.7 MB Notification: Performance of SimCode: time 4.31e-07/0.2981, allocations: 0 / 0.5203 GB, free: 10.28 MB / 410.7 MB Notification: Performance of Templates: time 0.00494/0.3031, allocations: 4.482 MB / 0.5247 GB, free: 9.512 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/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.363167512230575]