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.0009463/0.0009463, allocations: 83.58 kB / 21.18 MB, free: 3.383 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.001045/0.001045, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 1.038/1.038, allocations: 177.1 MB / 205 MB, free: 5.605 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.2585/0.2585, allocations: 34.25 MB / 295.7 MB, free: 0.7695 MB / 266.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.603e-06/1.603e-06, allocations: 7.875 kB / 378 MB, free: 2.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.839e-05/3e-05, allocations: 9.344 kB / 378 MB, free: 2.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3315/0.3315, allocations: 146.9 MB / 0.5126 GB, free: 17.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.3328, allocations: 1.468 MB / 0.514 GB, free: 16.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.403e-05/0.3329, allocations: 0 / 0.514 GB, free: 16.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003272/0.3332, allocations: 37.88 kB / 0.5141 GB, free: 16.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002335/0.3355, allocations: 1.105 MB / 0.5152 GB, free: 15.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.049e-06/0.3355, allocations: 0 / 0.5152 GB, free: 15.86 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.3356, allocations: 72.95 kB / 0.5152 GB, free: 15.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.485e-05/0.3357, allocations: 3.938 kB / 0.5152 GB, free: 15.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.22e-05/0.3357, allocations: 36.25 kB / 0.5153 GB, free: 15.81 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.873e-05/0.3358, allocations: 29.27 kB / 0.5153 GB, free: 15.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.3358, allocations: 0 / 0.5153 GB, free: 15.8 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002281/0.3381, allocations: 1.625 MB / 0.5169 GB, free: 15.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.281e-05/0.3381, allocations: 12.61 kB / 0.5169 GB, free: 15.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.355e-05/0.3382, allocations: 19.41 kB / 0.5169 GB, free: 15.35 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001286/0.3395, allocations: 1.029 MB / 0.5179 GB, free: 15.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3395, allocations: 0 / 0.5179 GB, free: 15.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3395, allocations: 2.594 kB / 0.5179 GB, free: 15.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.3395, allocations: 0 / 0.5179 GB, free: 15.05 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.0005385/0.34, allocations: 0.5348 MB / 0.5184 GB, free: 14.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.34, allocations: 9.031 kB / 0.5184 GB, free: 14.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.536e-05/0.3401, allocations: 16.11 kB / 0.5185 GB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.719e-05/0.3401, allocations: 109 kB / 0.5186 GB, free: 14.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.3402, allocations: 6.656 kB / 0.5186 GB, free: 14.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.3402, allocations: 6.969 kB / 0.5186 GB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.3403, allocations: 59.34 kB / 0.5186 GB, free: 14.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3403, allocations: 0 / 0.5186 GB, free: 14.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.3403, allocations: 6.156 kB / 0.5186 GB, free: 14.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.257e-05/0.3403, allocations: 8.469 kB / 0.5187 GB, free: 14.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.506e-05/0.3404, allocations: 22.45 kB / 0.5187 GB, free: 14.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.3408, allocations: 308.2 kB / 0.519 GB, free: 14.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.682e-05/0.3408, allocations: 47.89 kB / 0.519 GB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.176e-05/0.3408, allocations: 17.09 kB / 0.519 GB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/0.3409, allocations: 27.52 kB / 0.5191 GB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/0.341, allocations: 37.39 kB / 0.5191 GB, free: 13.97 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.893e-06/0.341, allocations: 3.938 kB / 0.5191 GB, free: 13.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001617/0.3411, allocations: 57.56 kB / 0.5191 GB, free: 13.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.928e-05/0.3411, allocations: 55.41 kB / 0.5192 GB, free: 13.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.104e-05/0.3412, allocations: 176 kB / 0.5194 GB, free: 13.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.151e-06/0.3412, allocations: 25.7 kB / 0.5194 GB, free: 13.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.556e-05/0.3412, allocations: 147.4 kB / 0.5195 GB, free: 13.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.017e-05/0.3412, allocations: 19.31 kB / 0.5196 GB, free: 13.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/0.3413, allocations: 27.23 kB / 0.5196 GB, free: 13.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.893e-05/0.3413, allocations: 495 kB / 0.5201 GB, free: 12.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.558e-05/0.3413, allocations: 9.531 kB / 0.5201 GB, free: 12.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.337e-05/0.3414, allocations: 49.05 kB / 0.5201 GB, free: 12.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.55e-05/0.3414, allocations: 59.41 kB / 0.5202 GB, free: 12.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3414, allocations: 0 / 0.5202 GB, free: 12.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.542e-05/0.3415, allocations: 89 kB / 0.5202 GB, free: 12.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.3415, allocations: 5.406 kB / 0.5203 GB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3415, allocations: 2.781 kB / 0.5203 GB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.3415, allocations: 0 / 0.5203 GB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.249e-05/0.3416, allocations: 14.5 kB / 0.5203 GB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.3416, allocations: 5.031 kB / 0.5203 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.147e-05/0.3416, allocations: 6.969 kB / 0.5203 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.3416, allocations: 5.531 kB / 0.5203 GB, free: 12.8 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 4.237e-05/0.3417, allocations: 163.4 kB / 0.5204 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.699e-05/0.3417, allocations: 6.891 kB / 0.5205 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.3418, allocations: 73.72 kB / 0.5205 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.3418, allocations: 0 / 0.5205 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.3418, allocations: 0 / 0.5205 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3418, allocations: 3.938 kB / 0.5205 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.039e-05/0.3419, allocations: 131 kB / 0.5206 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3419, allocations: 1.062 kB / 0.5207 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.004e-05/0.3419, allocations: 7.781 kB / 0.5207 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.342, allocations: 0 / 0.5207 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.342, allocations: 7.031 kB / 0.5207 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.342, allocations: 3.938 kB / 0.5207 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.342, allocations: 0 / 0.5207 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.258e-05/0.342, allocations: 209.5 kB / 0.5209 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-06/0.342, allocations: 6.891 kB / 0.5209 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.898e-06/0.342, allocations: 0 / 0.5209 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.631e-05/0.3421, allocations: 0 / 0.5209 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.743e-05/0.3421, allocations: 9.906 kB / 0.5209 GB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.3421, allocations: 2.812 kB / 0.5209 GB, free: 12.22 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.652e-05/0.3421, allocations: 126.2 kB / 0.521 GB, free: 12.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3421, allocations: 0 / 0.521 GB, free: 12.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003882/0.3425, allocations: 161.1 kB / 0.5212 GB, free: 12.05 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.0004959/0.343, allocations: 351.8 kB / 0.5215 GB, free: 11.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001065/0.3431, allocations: 40.39 kB / 0.5215 GB, free: 11.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.3431, allocations: 3.469 kB / 0.5215 GB, free: 11.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.531e-05/0.3431, allocations: 22.2 kB / 0.5216 GB, free: 11.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.3433, allocations: 16.92 kB / 0.5216 GB, free: 11.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006424/0.344, allocations: 179.2 kB / 0.5217 GB, free: 11.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.459e-05/0.344, allocations: 60.14 kB / 0.5218 GB, free: 11.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.049e-05/0.3441, allocations: 21.12 kB / 0.5218 GB, free: 11.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.3441, allocations: 16.58 kB / 0.5218 GB, free: 11.63 MB / 410.7 MB Notification: Performance of SimCode: time 9.11e-07/0.3441, allocations: 4 kB / 0.5218 GB, free: 11.62 MB / 410.7 MB Notification: Performance of Templates: time 0.005302/0.3494, allocations: 3.748 MB / 0.5255 GB, free: 11.26 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.662539269775152]