Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001498/0.001498, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001811/0.001811, allocations: 211.5 kB / 25.13 MB, free: 3.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 230.4 MB / 258.7 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2215/0.2215, allocations: 46.94 MB / 362 MB, free: 4.309 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002363/0.002363, allocations: 83.86 kB / 0.4978 GB, free: 7.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3243, allocations: 66.08 MB / 0.5623 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1815/0.5057, allocations: 152.3 MB / 0.711 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002011/0.5078, allocations: 1.464 MB / 0.7125 GB, free: 9.898 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.113e-05/0.5078, allocations: 0 / 0.7125 GB, free: 9.898 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003305/0.5081, allocations: 47.73 kB / 0.7125 GB, free: 9.852 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002604/0.5107, allocations: 1.099 MB / 0.7136 GB, free: 8.758 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 4.127e-06/0.5107, allocations: 0 / 0.7136 GB, free: 8.758 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.5109, allocations: 63.66 kB / 0.7137 GB, free: 8.695 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.511e-05/0.5109, allocations: 4 kB / 0.7137 GB, free: 8.691 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.824e-05/0.5109, allocations: 27.91 kB / 0.7137 GB, free: 8.664 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.399e-05/0.511, allocations: 31.84 kB / 0.7137 GB, free: 8.633 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.511, allocations: 4 kB / 0.7137 GB, free: 8.629 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002614/0.5136, allocations: 1.661 MB / 0.7153 GB, free: 6.965 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.291e-05/0.5137, allocations: 11.92 kB / 0.7154 GB, free: 6.953 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.949e-05/0.5137, allocations: 19.94 kB / 0.7154 GB, free: 6.934 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.515, allocations: 0.8806 MB / 0.7162 GB, free: 6.051 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.515, allocations: 7.938 kB / 0.7162 GB, free: 6.043 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.183e-06/0.515, allocations: 0 / 0.7162 GB, free: 6.043 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.799e-06/0.5151, allocations: 4 kB / 0.7162 GB, free: 6.039 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006641/0.5157, allocations: 440.5 kB / 0.7167 GB, free: 5.578 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.5158, allocations: 8.031 kB / 0.7167 GB, free: 5.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.996e-05/0.5158, allocations: 8.891 kB / 0.7167 GB, free: 5.562 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.5159, allocations: 121.6 kB / 0.7168 GB, free: 5.418 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.5159, allocations: 0 / 0.7168 GB, free: 5.418 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.5159, allocations: 4 kB / 0.7168 GB, free: 5.414 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.5161, allocations: 77.67 kB / 0.7169 GB, free: 5.332 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.5161, allocations: 4 kB / 0.7169 GB, free: 5.328 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.5161, allocations: 4 kB / 0.7169 GB, free: 5.324 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.806e-05/0.5161, allocations: 11.98 kB / 0.7169 GB, free: 5.312 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.5162, allocations: 67.91 kB / 0.717 GB, free: 5.246 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004407/0.5167, allocations: 287.7 kB / 0.7172 GB, free: 4.922 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.002e-05/0.5167, allocations: 34.58 kB / 0.7173 GB, free: 4.879 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.303e-05/0.5168, allocations: 16.97 kB / 0.7173 GB, free: 4.859 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001278/0.5169, allocations: 35.98 kB / 0.7173 GB, free: 4.824 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.5169, allocations: 38.48 kB / 0.7174 GB, free: 4.777 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.223e-06/0.5169, allocations: 0 / 0.7174 GB, free: 4.777 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0001912/0.5171, allocations: 69.61 kB / 0.7174 GB, free: 4.703 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.5172, allocations: 51.41 kB / 0.7175 GB, free: 4.641 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.66e-05/0.5173, allocations: 109.8 kB / 0.7176 GB, free: 4.523 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.5173, allocations: 29.81 kB / 0.7176 GB, free: 4.488 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.17e-05/0.5173, allocations: 95.98 kB / 0.7177 GB, free: 4.391 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.5173, allocations: 27.83 kB / 0.7177 GB, free: 4.363 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.079e-05/0.5174, allocations: 25.66 kB / 0.7177 GB, free: 4.332 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.5175, allocations: 314.8 kB / 0.718 GB, free: 4.016 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.045e-05/0.5175, allocations: 15.98 kB / 0.7181 GB, free: 4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.786e-05/0.5176, allocations: 35.42 kB / 0.7181 GB, free: 3.953 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.453e-05/0.5177, allocations: 55.38 kB / 0.7181 GB, free: 3.887 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.5177, allocations: 0.5 kB / 0.7181 GB, free: 3.887 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001365/0.5178, allocations: 93.55 kB / 0.7182 GB, free: 3.789 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.5178, allocations: 4 kB / 0.7182 GB, free: 3.785 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.5178, allocations: 0 / 0.7182 GB, free: 3.785 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.5178, allocations: 4 kB / 0.7182 GB, free: 3.781 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.238e-05/0.5179, allocations: 12.08 kB / 0.7183 GB, free: 3.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.5179, allocations: 8 kB / 0.7183 GB, free: 3.762 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.06e-05/0.518, allocations: 0 / 0.7183 GB, free: 3.762 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.518, allocations: 4 kB / 0.7183 GB, free: 3.758 MB / 0.545 GB 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 (8): * Single equations (assignments): 7 * Array equations: 1 * 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 8.524e-05/0.518, allocations: 117.8 kB / 0.7184 GB, free: 3.633 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.283e-05/0.5181, allocations: 11.89 kB / 0.7184 GB, free: 3.621 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001592/0.5182, allocations: 81.56 kB / 0.7185 GB, free: 3.535 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.5182, allocations: 0 / 0.7185 GB, free: 3.535 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.5183, allocations: 0 / 0.7185 GB, free: 3.535 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.5183, allocations: 7.922 kB / 0.7185 GB, free: 3.527 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.5184, allocations: 136.7 kB / 0.7186 GB, free: 3.352 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5184, allocations: 0 / 0.7186 GB, free: 3.352 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.337e-05/0.5185, allocations: 7.938 kB / 0.7186 GB, free: 3.344 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.5185, allocations: 4 kB / 0.7186 GB, free: 3.34 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.5185, allocations: 11.97 kB / 0.7186 GB, free: 3.328 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.5185, allocations: 0 / 0.7186 GB, free: 3.328 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.5185, allocations: 0 / 0.7186 GB, free: 3.328 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.5186, allocations: 163.4 kB / 0.7188 GB, free: 3.152 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.067e-06/0.5186, allocations: 3.938 kB / 0.7188 GB, free: 3.148 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.5187, allocations: 0 / 0.7188 GB, free: 3.148 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.826e-05/0.5187, allocations: 0 / 0.7188 GB, free: 3.148 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.5187, allocations: 11.98 kB / 0.7188 GB, free: 3.137 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.5187, allocations: 4 kB / 0.7188 GB, free: 3.133 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.616e-05/0.5188, allocations: 83.41 kB / 0.7189 GB, free: 3.051 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5188, allocations: 7.938 kB / 0.7189 GB, free: 3.043 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004624/0.5192, allocations: 155.5 kB / 0.719 GB, free: 2.891 MB / 0.545 GB 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 (5): * Single equations (assignments): 4 * Array equations: 1 * 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.0006747/0.5199, allocations: 318.5 kB / 0.7193 GB, free: 2.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001259/0.52, allocations: 39.92 kB / 0.7194 GB, free: 2.531 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.52, allocations: 0 / 0.7194 GB, free: 2.531 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.398e-05/0.5201, allocations: 20.11 kB / 0.7194 GB, free: 2.512 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.5204, allocations: 13.02 kB / 0.7194 GB, free: 2.504 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003862/0.5207, allocations: 164.7 kB / 0.7196 GB, free: 2.316 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.521, allocations: 0.6846 MB / 0.7202 GB, free: 1.605 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.872e-05/0.5211, allocations: 23.91 kB / 0.7203 GB, free: 1.582 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.711e-05/0.5211, allocations: 15.44 kB / 0.7203 GB, free: 1.566 MB / 0.545 GB Notification: Performance of SimCode: time 4.31e-07/0.5211, allocations: 0 / 0.7203 GB, free: 1.566 MB / 0.545 GB Notification: Performance of Templates: time 0.007286/0.5284, allocations: 3.71 MB / 0.7239 GB, free: 13.86 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.5422151000238955]