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.0013/0.0013, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001202/0.001202, allocations: 161 kB / 24.55 MB, free: 20 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.036/1.036, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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.2631/0.2631, allocations: 32.8 MB / 294.3 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 180] 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.473e-06/1.473e-06, allocations: 0 / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.228e-05/2.376e-05, allocations: 5.406 kB / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3175/0.3175, allocations: 146.8 MB / 0.5106 GB, free: 19.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001426/0.3189, allocations: 1.357 MB / 0.5119 GB, free: 18.56 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.573e-05/0.319, allocations: 0 / 0.5119 GB, free: 18.56 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003519/0.3193, allocations: 34.48 kB / 0.5119 GB, free: 18.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002632/0.322, allocations: 1.066 MB / 0.513 GB, free: 18.08 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.819e-06/0.322, allocations: 0 / 0.513 GB, free: 18.08 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.3221, allocations: 51.45 kB / 0.513 GB, free: 18.06 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.392e-05/0.3221, allocations: 3.141 kB / 0.513 GB, free: 18.06 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.888e-05/0.3222, allocations: 21.02 kB / 0.513 GB, free: 18.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.713e-05/0.3223, allocations: 23.45 kB / 0.5131 GB, free: 18.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.3223, allocations: 3.188 kB / 0.5131 GB, free: 18.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002427/0.3247, allocations: 1.592 MB / 0.5146 GB, free: 17.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.676e-05/0.3248, allocations: 19.92 kB / 0.5146 GB, free: 17.6 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.879e-05/0.3248, allocations: 5.938 kB / 0.5146 GB, free: 17.6 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001294/0.3261, allocations: 1.024 MB / 0.5156 GB, free: 17.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3261, allocations: 0 / 0.5156 GB, free: 17.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3261, allocations: 0 / 0.5156 GB, free: 17.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.3261, allocations: 0 / 0.5156 GB, free: 17.3 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.0006982/0.3268, allocations: 0.5218 MB / 0.5162 GB, free: 16.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.3269, allocations: 9.125 kB / 0.5162 GB, free: 16.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/0.3269, allocations: 13.69 kB / 0.5162 GB, free: 16.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.154e-05/0.327, allocations: 115.2 kB / 0.5163 GB, free: 16.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.327, allocations: 0 / 0.5163 GB, free: 16.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.327, allocations: 10.53 kB / 0.5163 GB, free: 16.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.3271, allocations: 52.55 kB / 0.5163 GB, free: 16.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.3271, allocations: 3.984 kB / 0.5164 GB, free: 16.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.3271, allocations: 0 / 0.5164 GB, free: 16.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/0.3271, allocations: 7.984 kB / 0.5164 GB, free: 16.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.787e-05/0.3272, allocations: 17.48 kB / 0.5164 GB, free: 16.63 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003814/0.3276, allocations: 307.2 kB / 0.5167 GB, free: 16.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.049e-05/0.3276, allocations: 39.2 kB / 0.5167 GB, free: 16.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.728e-05/0.3277, allocations: 17 kB / 0.5167 GB, free: 16.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.3278, allocations: 28.8 kB / 0.5167 GB, free: 16.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.3278, allocations: 37.33 kB / 0.5168 GB, free: 16.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.3278, allocations: 0 / 0.5168 GB, free: 16.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001537/0.328, allocations: 56.36 kB / 0.5168 GB, free: 16.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.328, allocations: 51.41 kB / 0.5169 GB, free: 16.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.097e-05/0.328, allocations: 168.7 kB / 0.517 GB, free: 15.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.3281, allocations: 25.7 kB / 0.5171 GB, free: 15.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.3281, allocations: 138 kB / 0.5172 GB, free: 15.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.886e-06/0.3281, allocations: 19.84 kB / 0.5172 GB, free: 15.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/0.3281, allocations: 28.16 kB / 0.5173 GB, free: 15.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.971e-05/0.3282, allocations: 495.1 kB / 0.5177 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.495e-05/0.3282, allocations: 9.172 kB / 0.5177 GB, free: 15.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.208e-05/0.3282, allocations: 45.23 kB / 0.5178 GB, free: 15.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.141e-05/0.3283, allocations: 56.78 kB / 0.5178 GB, free: 15.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3283, allocations: 0 / 0.5178 GB, free: 15.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.973e-05/0.3284, allocations: 69.7 kB / 0.5179 GB, free: 15.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.3284, allocations: 9.156 kB / 0.5179 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3284, allocations: 3.641 kB / 0.5179 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.3284, allocations: 3.938 kB / 0.5179 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.362e-05/0.3285, allocations: 14.97 kB / 0.5179 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.3285, allocations: 3.938 kB / 0.5179 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.302e-05/0.3285, allocations: 9.531 kB / 0.5179 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.3285, allocations: 3.375 kB / 0.5179 GB, free: 15.08 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 5.507e-05/0.3286, allocations: 163.5 kB / 0.5181 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.744e-05/0.3286, allocations: 2.656 kB / 0.5181 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001395/0.3288, allocations: 68.02 kB / 0.5182 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3288, allocations: 0 / 0.5182 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.3288, allocations: 2.625 kB / 0.5182 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3288, allocations: 6.234 kB / 0.5182 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.873e-05/0.3289, allocations: 125.3 kB / 0.5183 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3289, allocations: 0 / 0.5183 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.862e-05/0.3289, allocations: 6.25 kB / 0.5183 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3289, allocations: 2.219 kB / 0.5183 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.3289, allocations: 4.75 kB / 0.5183 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3289, allocations: 3.938 kB / 0.5183 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3289, allocations: 3.625 kB / 0.5183 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.05e-05/0.329, allocations: 200.2 kB / 0.5185 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.082e-05/0.329, allocations: 9.734 kB / 0.5185 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.329, allocations: 3.125 kB / 0.5185 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.469e-05/0.329, allocations: 0 / 0.5185 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.823e-05/0.329, allocations: 4.406 kB / 0.5185 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.329, allocations: 0 / 0.5185 GB, free: 14.51 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.605e-05/0.3291, allocations: 130.6 kB / 0.5186 GB, free: 14.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3291, allocations: 4 kB / 0.5186 GB, free: 14.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003697/0.3294, allocations: 147.3 kB / 0.5188 GB, free: 14.34 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.0005189/0.33, allocations: 326.1 kB / 0.5191 GB, free: 14.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.364e-05/0.33, allocations: 35.12 kB / 0.5191 GB, free: 14.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.33, allocations: 3.031 kB / 0.5191 GB, free: 14.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.375e-05/0.3301, allocations: 24.56 kB / 0.5192 GB, free: 14.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.3303, allocations: 5.25 kB / 0.5192 GB, free: 14.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000541/0.3308, allocations: 157 kB / 0.5193 GB, free: 14.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.255e-05/0.3308, allocations: 57.31 kB / 0.5194 GB, free: 13.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.672e-05/0.3309, allocations: 17.2 kB / 0.5194 GB, free: 13.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.671e-05/0.3309, allocations: 17.28 kB / 0.5194 GB, free: 13.95 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.3309, allocations: 0 / 0.5194 GB, free: 13.95 MB / 410.7 MB Notification: Performance of Templates: time 0.005213/0.3361, allocations: 3.448 MB / 0.5228 GB, free: 13.61 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","",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.730828871950507]