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.001356/0.001356, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.0009378/0.0009378, allocations: 167.7 kB / 24.82 MB, free: 8.883 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.9382/0.9382, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.2278/0.2278, allocations: 32.81 MB / 294.6 MB, free: 1.238 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.392e-06/1.392e-06, allocations: 0 / 376.4 MB, free: 4.445 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.972e-05, allocations: 6.25 kB / 376.5 MB, free: 4.438 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.2527/0.2527, allocations: 144.1 MB / 0.5084 GB, free: 20.87 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0016/0.2543, allocations: 1.344 MB / 0.5097 GB, free: 19.99 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.584e-05/0.2543, allocations: 0 / 0.5097 GB, free: 19.99 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002902/0.2546, allocations: 32.3 kB / 0.5097 GB, free: 19.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002739/0.2574, allocations: 1.059 MB / 0.5107 GB, free: 19.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.477e-06/0.2574, allocations: 4 kB / 0.5107 GB, free: 19.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.2575, allocations: 52.69 kB / 0.5108 GB, free: 19.49 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.621e-05/0.2575, allocations: 1.312 kB / 0.5108 GB, free: 19.49 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.854e-05/0.2576, allocations: 26.92 kB / 0.5108 GB, free: 19.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.089e-05/0.2576, allocations: 23.2 kB / 0.5108 GB, free: 19.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.277e-06/0.2576, allocations: 0 / 0.5108 GB, free: 19.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00277/0.2604, allocations: 1.589 MB / 0.5124 GB, free: 19.05 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.383e-05/0.2605, allocations: 8.438 kB / 0.5124 GB, free: 19.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.442e-05/0.2605, allocations: 21.25 kB / 0.5124 GB, free: 19.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.2619, allocations: 1.023 MB / 0.5134 GB, free: 18.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2619, allocations: 0 / 0.5134 GB, free: 18.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2619, allocations: 0 / 0.5134 GB, free: 18.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.2619, allocations: 0 / 0.5134 GB, free: 18.73 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.0005759/0.2625, allocations: 0.5264 MB / 0.5139 GB, free: 18.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.2625, allocations: 10.97 kB / 0.5139 GB, free: 18.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.147e-05/0.2626, allocations: 3.812 kB / 0.5139 GB, free: 18.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.308e-05/0.2626, allocations: 109.7 kB / 0.514 GB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.2626, allocations: 0 / 0.514 GB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.2626, allocations: 6.875 kB / 0.5141 GB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.783e-05/0.2627, allocations: 52.06 kB / 0.5141 GB, free: 18.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.2627, allocations: 3.031 kB / 0.5141 GB, free: 18.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.2627, allocations: 3.047 kB / 0.5141 GB, free: 18.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.313e-05/0.2628, allocations: 13.39 kB / 0.5141 GB, free: 18.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.92e-05/0.2628, allocations: 13.67 kB / 0.5141 GB, free: 18.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002733/0.2631, allocations: 291.2 kB / 0.5144 GB, free: 17.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.441e-05/0.2631, allocations: 30.81 kB / 0.5144 GB, free: 17.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.554e-05/0.2631, allocations: 13.56 kB / 0.5145 GB, free: 17.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/0.2632, allocations: 30.16 kB / 0.5145 GB, free: 17.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.2633, allocations: 37.39 kB / 0.5145 GB, free: 17.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.2633, allocations: 7.5 kB / 0.5145 GB, free: 17.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001339/0.2634, allocations: 50.2 kB / 0.5146 GB, free: 17.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.632e-05/0.2634, allocations: 54.12 kB / 0.5146 GB, free: 17.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.607e-05/0.2635, allocations: 163.2 kB / 0.5148 GB, free: 17.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.551e-06/0.2635, allocations: 25.7 kB / 0.5148 GB, free: 17.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.776e-05/0.2635, allocations: 141.1 kB / 0.5149 GB, free: 17.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.817e-06/0.2635, allocations: 14.88 kB / 0.515 GB, free: 17.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.2635, allocations: 28.09 kB / 0.515 GB, free: 17.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.121e-05/0.2636, allocations: 0.4883 MB / 0.5155 GB, free: 16.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.317e-05/0.2636, allocations: 9.031 kB / 0.5155 GB, free: 16.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.533e-05/0.2636, allocations: 44.5 kB / 0.5155 GB, free: 16.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.451e-05/0.2636, allocations: 56 kB / 0.5156 GB, free: 16.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.2637, allocations: 1.547 kB / 0.5156 GB, free: 16.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.556e-05/0.2637, allocations: 68 kB / 0.5156 GB, free: 16.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.2637, allocations: 6.031 kB / 0.5156 GB, free: 16.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2638, allocations: 0 / 0.5156 GB, free: 16.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.2638, allocations: 2.594 kB / 0.5156 GB, free: 16.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.75e-05/0.2638, allocations: 14.7 kB / 0.5156 GB, free: 16.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.2638, allocations: 4.797 kB / 0.5157 GB, free: 16.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.512e-05/0.2639, allocations: 13.11 kB / 0.5157 GB, free: 16.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.2639, allocations: 6.844 kB / 0.5157 GB, free: 16.54 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.847e-05/0.2639, allocations: 152.6 kB / 0.5158 GB, free: 16.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.2639, allocations: 3.531 kB / 0.5158 GB, free: 16.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.2641, allocations: 71.02 kB / 0.5159 GB, free: 16.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.2641, allocations: 4 kB / 0.5159 GB, free: 16.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.2641, allocations: 0 / 0.5159 GB, free: 16.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2641, allocations: 2.719 kB / 0.5159 GB, free: 16.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.935e-05/0.2642, allocations: 103.4 kB / 0.516 GB, free: 16.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.2642, allocations: 6.547 kB / 0.516 GB, free: 16.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.729e-05/0.2642, allocations: 12.56 kB / 0.516 GB, free: 16.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.2642, allocations: 0 / 0.516 GB, free: 16.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-06/0.2642, allocations: 0 / 0.516 GB, free: 16.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2642, allocations: 0 / 0.516 GB, free: 16.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2642, allocations: 0 / 0.516 GB, free: 16.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.562e-05/0.2643, allocations: 204.9 kB / 0.5162 GB, free: 16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-06/0.2643, allocations: 11.17 kB / 0.5162 GB, free: 16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-06/0.2643, allocations: 2.016 kB / 0.5162 GB, free: 16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.579e-05/0.2643, allocations: 0 / 0.5162 GB, free: 16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.334e-05/0.2644, allocations: 5.562 kB / 0.5162 GB, free: 16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.2644, allocations: 5.219 kB / 0.5162 GB, free: 16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.645e-05/0.2644, allocations: 119.2 kB / 0.5163 GB, free: 15.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2644, allocations: 0 / 0.5163 GB, free: 15.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000437/0.2648, allocations: 151.4 kB / 0.5165 GB, free: 15.84 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.0005757/0.2654, allocations: 329.1 kB / 0.5168 GB, free: 15.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.552e-05/0.2655, allocations: 43.23 kB / 0.5168 GB, free: 15.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.2655, allocations: 0 / 0.5168 GB, free: 15.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.417e-05/0.2655, allocations: 13.91 kB / 0.5169 GB, free: 15.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.2658, allocations: 9.484 kB / 0.5169 GB, free: 15.65 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000486/0.2662, allocations: 156.6 kB / 0.517 GB, free: 15.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.629e-05/0.2663, allocations: 60.14 kB / 0.5171 GB, free: 15.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.152e-05/0.2663, allocations: 10.52 kB / 0.5171 GB, free: 15.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.847e-05/0.2664, allocations: 81.36 kB / 0.5172 GB, free: 15.38 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.2664, allocations: 0 / 0.5172 GB, free: 15.38 MB / 410.7 MB Notification: Performance of Templates: time 0.007214/0.2736, allocations: 4.118 MB / 0.5212 GB, free: 14.9 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.2590406909585]