Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001931/0.001931, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002058/0.002058, allocations: 161.3 kB / 24.27 MB, free: 156 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.705/1.705, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3721/0.3721, allocations: 32.8 MB / 293.9 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 375.2 MB, free: 5.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.696e-05/2.845e-05, allocations: 2.312 kB / 375.2 MB, free: 5.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.34/0.34, allocations: 146.5 MB / 0.5095 GB, free: 19.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.3416, allocations: 1.367 MB / 0.5109 GB, free: 18.82 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.349e-05/0.3416, allocations: 2.562 kB / 0.5109 GB, free: 18.82 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002731/0.3419, allocations: 25.62 kB / 0.5109 GB, free: 18.81 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002494/0.3444, allocations: 1.064 MB / 0.5119 GB, free: 18.35 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.32e-06/0.3444, allocations: 0 / 0.5119 GB, free: 18.35 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.3445, allocations: 55.94 kB / 0.512 GB, free: 18.32 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.335e-05/0.3445, allocations: 0.7969 kB / 0.512 GB, free: 18.32 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.936e-05/0.3446, allocations: 29.69 kB / 0.512 GB, free: 18.31 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.663e-05/0.3446, allocations: 17.47 kB / 0.512 GB, free: 18.31 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.3446, allocations: 3.984 kB / 0.512 GB, free: 18.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002534/0.3472, allocations: 1.587 MB / 0.5136 GB, free: 17.88 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.152e-05/0.3472, allocations: 14.73 kB / 0.5136 GB, free: 17.87 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.67e-05/0.3472, allocations: 10.5 kB / 0.5136 GB, free: 17.87 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.3485, allocations: 1.023 MB / 0.5146 GB, free: 17.56 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3485, allocations: 3.094 kB / 0.5146 GB, free: 17.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.3485, allocations: 0 / 0.5146 GB, free: 17.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.718e-06/0.3485, allocations: 4 kB / 0.5146 GB, free: 17.56 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005489/0.3491, allocations: 0.5192 MB / 0.5151 GB, free: 17.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.3491, allocations: 11.95 kB / 0.5151 GB, free: 17.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.3492, allocations: 8.469 kB / 0.5151 GB, free: 17.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.552e-05/0.3492, allocations: 110.3 kB / 0.5152 GB, free: 16.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.3492, allocations: 7.609 kB / 0.5152 GB, free: 16.94 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-06/0.3492, allocations: 7 kB / 0.5152 GB, free: 16.94 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.3493, allocations: 45.06 kB / 0.5153 GB, free: 16.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.3493, allocations: 2.594 kB / 0.5153 GB, free: 16.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.3493, allocations: 4 kB / 0.5153 GB, free: 16.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.3494, allocations: 10.72 kB / 0.5153 GB, free: 16.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.297e-05/0.3494, allocations: 29.22 kB / 0.5153 GB, free: 16.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003238/0.3498, allocations: 297.7 kB / 0.5156 GB, free: 16.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.42e-05/0.3498, allocations: 39 kB / 0.5157 GB, free: 16.56 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.128e-05/0.3498, allocations: 13.91 kB / 0.5157 GB, free: 16.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001257/0.35, allocations: 30.47 kB / 0.5157 GB, free: 16.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.257e-05/0.35, allocations: 40.02 kB / 0.5157 GB, free: 16.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.35, allocations: 0 / 0.5157 GB, free: 16.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001667/0.3501, allocations: 61.39 kB / 0.5158 GB, free: 16.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.879e-05/0.3502, allocations: 51.41 kB / 0.5158 GB, free: 16.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.065e-05/0.3502, allocations: 171.3 kB / 0.516 GB, free: 16.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/0.3502, allocations: 29.64 kB / 0.516 GB, free: 16.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.583e-05/0.3502, allocations: 137.8 kB / 0.5162 GB, free: 16.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.112e-05/0.3503, allocations: 25.7 kB / 0.5162 GB, free: 16.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.3503, allocations: 25.09 kB / 0.5162 GB, free: 16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.035e-05/0.3503, allocations: 495 kB / 0.5167 GB, free: 15.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.935e-05/0.3504, allocations: 13.5 kB / 0.5167 GB, free: 15.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.076e-05/0.3504, allocations: 41.97 kB / 0.5167 GB, free: 15.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.194e-05/0.3504, allocations: 64.72 kB / 0.5168 GB, free: 15.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.3504, allocations: 0 / 0.5168 GB, free: 15.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.1e-05/0.3505, allocations: 70.14 kB / 0.5169 GB, free: 15.35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.3505, allocations: 3.562 kB / 0.5169 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.3505, allocations: 1.406 kB / 0.5169 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.3506, allocations: 3.5 kB / 0.5169 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.146e-05/0.3506, allocations: 11.84 kB / 0.5169 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3506, allocations: 10.81 kB / 0.5169 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.876e-05/0.3507, allocations: 3.953 kB / 0.5169 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.3507, allocations: 9.906 kB / 0.5169 GB, free: 15.33 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 (7): * Single equations (assignments): 7 * 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 4.445e-05/0.3507, allocations: 159.6 kB / 0.5171 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/0.3508, allocations: 0 / 0.5171 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.3509, allocations: 71.64 kB / 0.5171 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-06/0.3509, allocations: 2.969 kB / 0.5171 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.3509, allocations: 0 / 0.5171 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3509, allocations: 4.406 kB / 0.5171 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.351, allocations: 124 kB / 0.5173 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.351, allocations: 0 / 0.5173 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.107e-05/0.351, allocations: 12.67 kB / 0.5173 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.351, allocations: 0 / 0.5173 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.351, allocations: 0 / 0.5173 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.351, allocations: 0 / 0.5173 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.351, allocations: 1.094 kB / 0.5173 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.167e-05/0.3511, allocations: 210.8 kB / 0.5175 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-06/0.3511, allocations: 3.094 kB / 0.5175 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.3512, allocations: 0 / 0.5175 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.729e-05/0.3512, allocations: 0 / 0.5175 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.342e-05/0.3512, allocations: 5.578 kB / 0.5175 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.3512, allocations: 8.094 kB / 0.5175 GB, free: 14.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.75e-05/0.3513, allocations: 132.9 kB / 0.5176 GB, free: 14.63 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3513, allocations: 0 / 0.5176 GB, free: 14.63 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004685/0.3517, allocations: 147.6 kB / 0.5178 GB, free: 14.59 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 (4): * Single equations (assignments): 4 * 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.0005766/0.3523, allocations: 328.1 kB / 0.5181 GB, free: 14.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001013/0.3524, allocations: 34.72 kB / 0.5181 GB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3524, allocations: 4 kB / 0.5181 GB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.945e-05/0.3524, allocations: 22.59 kB / 0.5181 GB, free: 14.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.3527, allocations: 11.72 kB / 0.5181 GB, free: 14.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002741/0.353, allocations: 144.6 kB / 0.5183 GB, free: 14.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.623e-05/0.353, allocations: 63.03 kB / 0.5183 GB, free: 14.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.241e-05/0.3531, allocations: 15.02 kB / 0.5183 GB, free: 14.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.677e-05/0.3531, allocations: 18.22 kB / 0.5184 GB, free: 14.2 MB / 410.7 MB Notification: Performance of SimCode: time 4.8e-07/0.3531, allocations: 0 / 0.5184 GB, free: 14.2 MB / 410.7 MB Notification: Performance of Templates: time 0.006459/0.3595, allocations: 3.452 MB / 0.5217 GB, free: 13.86 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.489765320089646]