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.001498/0.001498, allocations: 81.97 kB / 22.21 MB, free: 2.285 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.001115/0.001115, allocations: 170.5 kB / 25.61 MB, free: 8.914 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.9161/0.9161, allocations: 177.2 MB / 206.1 MB, free: 4.512 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.1268/0.1268, allocations: 32.8 MB / 295.4 MB, free: 15.39 MB / 282.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.453e-06/1.453e-06, allocations: 0 / 377.2 MB, free: 25.64 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.476e-05/1.621e-05, allocations: 6.141 kB / 377.2 MB, free: 25.64 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.272/0.272, allocations: 144.1 MB / 0.5091 GB, free: 14.11 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.2732, allocations: 1.34 MB / 0.5104 GB, free: 14.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.972e-05/0.2733, allocations: 0 / 0.5104 GB, free: 14.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002575/0.2735, allocations: 38.34 kB / 0.5105 GB, free: 14.01 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001726/0.2752, allocations: 1.063 MB / 0.5115 GB, free: 13.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.845e-06/0.2752, allocations: 0 / 0.5115 GB, free: 13.89 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.2754, allocations: 50.94 kB / 0.5115 GB, free: 13.89 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.61e-05/0.2754, allocations: 5.438 kB / 0.5115 GB, free: 13.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.977e-05/0.2754, allocations: 28.69 kB / 0.5116 GB, free: 13.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.082e-05/0.2755, allocations: 22.62 kB / 0.5116 GB, free: 13.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.384e-06/0.2755, allocations: 0.5625 kB / 0.5116 GB, free: 13.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001839/0.2773, allocations: 1.589 MB / 0.5131 GB, free: 13.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.629e-05/0.2774, allocations: 13.09 kB / 0.5132 GB, free: 13.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.789e-05/0.2774, allocations: 9.766 kB / 0.5132 GB, free: 13.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000937/0.2783, allocations: 1.021 MB / 0.5142 GB, free: 13.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2783, allocations: 5.047 kB / 0.5142 GB, free: 13.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.2783, allocations: 0 / 0.5142 GB, free: 13.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.2783, allocations: 4 kB / 0.5142 GB, free: 13.74 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.0004515/0.2788, allocations: 0.5192 MB / 0.5147 GB, free: 13.28 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.688e-05/0.2788, allocations: 11.92 kB / 0.5147 GB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.56e-05/0.2788, allocations: 11.11 kB / 0.5147 GB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.825e-05/0.2789, allocations: 116.4 kB / 0.5148 GB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.2789, allocations: 4.047 kB / 0.5148 GB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.073e-06/0.2789, allocations: 6.906 kB / 0.5148 GB, free: 13.13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.98e-05/0.279, allocations: 44.3 kB / 0.5149 GB, free: 13.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.279, allocations: 0 / 0.5149 GB, free: 13.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.31e-06/0.279, allocations: 0 / 0.5149 GB, free: 13.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.279, allocations: 6.312 kB / 0.5149 GB, free: 13.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.164e-05/0.279, allocations: 25.98 kB / 0.5149 GB, free: 13.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000208/0.2792, allocations: 282.3 kB / 0.5152 GB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.626e-05/0.2793, allocations: 33.98 kB / 0.5152 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.212e-05/0.2793, allocations: 13.38 kB / 0.5152 GB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.531e-05/0.2794, allocations: 23.91 kB / 0.5152 GB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.323e-05/0.2794, allocations: 42.98 kB / 0.5153 GB, free: 12.76 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.2794, allocations: 0 / 0.5153 GB, free: 12.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 9.973e-05/0.2795, allocations: 54.23 kB / 0.5153 GB, free: 12.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.51e-05/0.2795, allocations: 51.41 kB / 0.5154 GB, free: 12.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.608e-05/0.2795, allocations: 163.6 kB / 0.5155 GB, free: 12.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.288e-06/0.2795, allocations: 29.7 kB / 0.5156 GB, free: 12.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.26e-05/0.2796, allocations: 140.2 kB / 0.5157 GB, free: 12.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.204e-06/0.2796, allocations: 19.17 kB / 0.5157 GB, free: 12.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.249e-05/0.2796, allocations: 29.59 kB / 0.5157 GB, free: 12.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.316e-05/0.2796, allocations: 0.4902 MB / 0.5162 GB, free: 11.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.655e-06/0.2796, allocations: 5.766 kB / 0.5162 GB, free: 11.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.793e-05/0.2796, allocations: 48.94 kB / 0.5163 GB, free: 11.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.121e-05/0.2797, allocations: 48.22 kB / 0.5163 GB, free: 11.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.2797, allocations: 4 kB / 0.5163 GB, free: 11.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.747e-05/0.2797, allocations: 72.45 kB / 0.5164 GB, free: 11.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.2797, allocations: 4.875 kB / 0.5164 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2797, allocations: 0 / 0.5164 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.228e-06/0.2798, allocations: 3.406 kB / 0.5164 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.072e-05/0.2798, allocations: 11.39 kB / 0.5164 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.2798, allocations: 3.438 kB / 0.5164 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.866e-05/0.2798, allocations: 10.73 kB / 0.5164 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.2798, allocations: 2.578 kB / 0.5164 GB, free: 11.64 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 3.222e-05/0.2799, allocations: 163.7 kB / 0.5166 GB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.2799, allocations: 6.672 kB / 0.5166 GB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.221e-05/0.28, allocations: 66.86 kB / 0.5167 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.28, allocations: 2.109 kB / 0.5167 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.28, allocations: 2.312 kB / 0.5167 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.28, allocations: 0 / 0.5167 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.084e-05/0.28, allocations: 109.6 kB / 0.5168 GB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.28, allocations: 4 kB / 0.5168 GB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.407e-05/0.2801, allocations: 5.656 kB / 0.5168 GB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.92e-07/0.2801, allocations: 0 / 0.5168 GB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.918e-06/0.2801, allocations: 3.312 kB / 0.5168 GB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2801, allocations: 5.859 kB / 0.5168 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2801, allocations: 0 / 0.5168 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.124e-05/0.2801, allocations: 197.5 kB / 0.517 GB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.633e-06/0.2801, allocations: 9.922 kB / 0.517 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.662e-06/0.2801, allocations: 0 / 0.517 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.324e-05/0.2801, allocations: 1.203 kB / 0.517 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.989e-06/0.2802, allocations: 5.234 kB / 0.517 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.2802, allocations: 7.312 kB / 0.517 GB, free: 11.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.272e-05/0.2802, allocations: 125.5 kB / 0.5171 GB, free: 10.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2802, allocations: 0 / 0.5171 GB, free: 10.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002814/0.2805, allocations: 150.7 kB / 0.5173 GB, free: 10.96 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.0003967/0.2809, allocations: 329.2 kB / 0.5176 GB, free: 10.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.122e-05/0.2809, allocations: 29.58 kB / 0.5176 GB, free: 10.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.91e-07/0.2809, allocations: 7.094 kB / 0.5176 GB, free: 10.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.091e-05/0.2809, allocations: 25.28 kB / 0.5176 GB, free: 10.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.2811, allocations: 8.406 kB / 0.5176 GB, free: 10.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000344/0.2814, allocations: 152.6 kB / 0.5178 GB, free: 10.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.034e-05/0.2815, allocations: 61.48 kB / 0.5178 GB, free: 10.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.209e-05/0.2815, allocations: 12.19 kB / 0.5179 GB, free: 10.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.476e-05/0.2815, allocations: 80.52 kB / 0.5179 GB, free: 10.53 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.2815, allocations: 0 / 0.5179 GB, free: 10.53 MB / 410.7 MB Notification: Performance of Templates: time 0.004961/0.2865, allocations: 4.115 MB / 0.5219 GB, free: 10.06 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.4069292810745537]