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.001519/0.001519, allocations: 83.58 kB / 21.19 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.002029/0.002029, 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.028/1.028, allocations: 177.1 MB / 205 MB, free: 5.617 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.2579/0.2579, allocations: 32.81 MB / 294.3 MB, free: 1.273 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.653e-06/1.653e-06, allocations: 0 / 376 MB, free: 4.699 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.092e-05/3.257e-05, allocations: 9.484 kB / 376 MB, free: 4.691 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.292/0.292, allocations: 146.8 MB / 0.5106 GB, free: 19.47 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.2932, allocations: 1.359 MB / 0.5119 GB, free: 18.6 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.755e-05/0.2932, allocations: 0 / 0.5119 GB, free: 18.6 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002827/0.2935, allocations: 35.12 kB / 0.5119 GB, free: 18.58 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002072/0.2956, allocations: 1.057 MB / 0.513 GB, free: 18.13 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.456e-06/0.2956, allocations: 0 / 0.513 GB, free: 18.13 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.2957, allocations: 59.98 kB / 0.513 GB, free: 18.1 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.357e-05/0.2957, allocations: 0.7031 kB / 0.513 GB, free: 18.1 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.596e-05/0.2958, allocations: 23.25 kB / 0.5131 GB, free: 18.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.981e-05/0.2958, allocations: 23.73 kB / 0.5131 GB, free: 18.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.917e-06/0.2958, allocations: 0 / 0.5131 GB, free: 18.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002129/0.298, allocations: 1.591 MB / 0.5146 GB, free: 17.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.952e-05/0.298, allocations: 12.84 kB / 0.5147 GB, free: 17.65 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.706e-05/0.2981, allocations: 13.22 kB / 0.5147 GB, free: 17.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.2993, allocations: 1.028 MB / 0.5157 GB, free: 17.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2993, allocations: 0 / 0.5157 GB, free: 17.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2993, allocations: 0 / 0.5157 GB, free: 17.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.2993, allocations: 0 / 0.5157 GB, free: 17.34 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.0006038/0.2999, allocations: 0.5227 MB / 0.5162 GB, free: 16.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.2999, allocations: 9.156 kB / 0.5162 GB, free: 16.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.369e-05/0.3, allocations: 9.469 kB / 0.5162 GB, free: 16.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.451e-05/0.3, allocations: 108 kB / 0.5163 GB, free: 16.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.3, allocations: 4 kB / 0.5163 GB, free: 16.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.3, allocations: 10.88 kB / 0.5163 GB, free: 16.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.3001, allocations: 53.16 kB / 0.5164 GB, free: 16.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-06/0.3001, allocations: 0 / 0.5164 GB, free: 16.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.3001, allocations: 2.25 kB / 0.5164 GB, free: 16.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.259e-05/0.3002, allocations: 6.438 kB / 0.5164 GB, free: 16.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.914e-05/0.3002, allocations: 19.47 kB / 0.5164 GB, free: 16.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003104/0.3005, allocations: 311.4 kB / 0.5167 GB, free: 16.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.137e-05/0.3006, allocations: 34.12 kB / 0.5167 GB, free: 16.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.587e-05/0.3006, allocations: 18.64 kB / 0.5167 GB, free: 16.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/0.3007, allocations: 29.38 kB / 0.5168 GB, free: 16.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/0.3007, allocations: 39.88 kB / 0.5168 GB, free: 16.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.3007, allocations: 0 / 0.5168 GB, free: 16.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001443/0.3009, allocations: 60.52 kB / 0.5169 GB, free: 16.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.118e-05/0.3009, allocations: 51.41 kB / 0.5169 GB, free: 16.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.077e-05/0.3009, allocations: 165.7 kB / 0.5171 GB, free: 16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.939e-06/0.3009, allocations: 25.7 kB / 0.5171 GB, free: 15.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.608e-05/0.301, allocations: 140.2 kB / 0.5172 GB, free: 15.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.345e-06/0.301, allocations: 15.84 kB / 0.5172 GB, free: 15.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.552e-05/0.301, allocations: 28.23 kB / 0.5173 GB, free: 15.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.647e-05/0.301, allocations: 495.2 kB / 0.5177 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.337e-05/0.301, allocations: 9.25 kB / 0.5177 GB, free: 15.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.295e-05/0.3011, allocations: 45.45 kB / 0.5178 GB, free: 15.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.025e-05/0.3011, allocations: 57.81 kB / 0.5178 GB, free: 15.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3011, allocations: 0 / 0.5178 GB, free: 15.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.157e-05/0.3012, allocations: 68.31 kB / 0.5179 GB, free: 15.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.3012, allocations: 5.594 kB / 0.5179 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.3012, allocations: 3.656 kB / 0.5179 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.3012, allocations: 4 kB / 0.5179 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.701e-05/0.3013, allocations: 17.97 kB / 0.5179 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3013, allocations: 3.938 kB / 0.5179 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.941e-05/0.3013, allocations: 7.016 kB / 0.518 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.3013, allocations: 3.062 kB / 0.518 GB, free: 15.12 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.789e-05/0.3013, allocations: 162.1 kB / 0.5181 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.235e-05/0.3014, allocations: 2.562 kB / 0.5181 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.974e-05/0.3015, allocations: 71.27 kB / 0.5182 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3015, allocations: 3 kB / 0.5182 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.3015, allocations: 0 / 0.5182 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3015, allocations: 3.938 kB / 0.5182 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.436e-05/0.3015, allocations: 116.5 kB / 0.5183 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3015, allocations: 0 / 0.5183 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-05/0.3016, allocations: 11.81 kB / 0.5183 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3016, allocations: 3.938 kB / 0.5183 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.3016, allocations: 0.75 kB / 0.5183 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.3016, allocations: 0 / 0.5183 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3016, allocations: 7.188 kB / 0.5183 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.194e-05/0.3016, allocations: 208 kB / 0.5185 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.274e-06/0.3016, allocations: 6.984 kB / 0.5185 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-06/0.3016, allocations: 0 / 0.5185 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.431e-05/0.3017, allocations: 5.469 kB / 0.5185 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.445e-05/0.3017, allocations: 7.016 kB / 0.5185 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.3017, allocations: 0 / 0.5185 GB, free: 14.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.423e-05/0.3017, allocations: 128 kB / 0.5187 GB, free: 14.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3017, allocations: 0 / 0.5187 GB, free: 14.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003511/0.3021, allocations: 151.8 kB / 0.5188 GB, free: 14.38 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.0004586/0.3025, allocations: 331 kB / 0.5191 GB, free: 14.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.944e-05/0.3026, allocations: 36.44 kB / 0.5192 GB, free: 14.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.3026, allocations: 0 / 0.5192 GB, free: 14.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.153e-05/0.3026, allocations: 26.95 kB / 0.5192 GB, free: 14.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001839/0.3028, allocations: 2.625 kB / 0.5192 GB, free: 14.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004783/0.3033, allocations: 155.5 kB / 0.5193 GB, free: 14.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.498e-05/0.3033, allocations: 59.36 kB / 0.5194 GB, free: 14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.825e-05/0.3033, allocations: 15.61 kB / 0.5194 GB, free: 13.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.302e-05/0.3034, allocations: 14.03 kB / 0.5194 GB, free: 13.99 MB / 410.7 MB Notification: Performance of SimCode: time 7.12e-07/0.3034, allocations: 0 / 0.5194 GB, free: 13.99 MB / 410.7 MB Notification: Performance of Templates: time 0.005489/0.3089, allocations: 4.079 MB / 0.5234 GB, free: 13.51 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.467616453766823]