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.001548/0.001548, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 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.001651/0.001651, allocations: 214.1 kB / 24.48 MB, free: 4.191 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.401/1.401, allocations: 230.2 MB / 257.8 MB, free: 8.496 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.2236/0.2236, allocations: 46.9 MB / 361.1 MB, free: 4.621 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.002284/0.002284, allocations: 79.88 kB / 0.4968 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2834, allocations: 65.98 MB / 0.5612 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1744/0.4578, allocations: 154.4 MB / 0.712 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001992/0.4598, allocations: 1.468 MB / 0.7134 GB, free: 8.578 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.173e-05/0.4598, allocations: 0 / 0.7134 GB, free: 8.578 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003028/0.4601, allocations: 55.72 kB / 0.7135 GB, free: 8.523 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002582/0.4627, allocations: 1.08 MB / 0.7145 GB, free: 7.445 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 4.328e-06/0.4627, allocations: 0 / 0.7145 GB, free: 7.445 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.4628, allocations: 71.62 kB / 0.7146 GB, free: 7.375 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.741e-05/0.4629, allocations: 4 kB / 0.7146 GB, free: 7.371 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.214e-05/0.4629, allocations: 19.94 kB / 0.7146 GB, free: 7.352 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.516e-05/0.463, allocations: 39.81 kB / 0.7146 GB, free: 7.312 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.176e-06/0.463, allocations: 0 / 0.7146 GB, free: 7.312 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003062/0.4661, allocations: 1.914 MB / 0.7165 GB, free: 5.395 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.558e-05/0.4661, allocations: 19.91 kB / 0.7165 GB, free: 5.375 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.09e-05/0.4661, allocations: 15.94 kB / 0.7165 GB, free: 5.359 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001494/0.4676, allocations: 0.9312 MB / 0.7175 GB, free: 4.426 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4676, allocations: 4 kB / 0.7175 GB, free: 4.422 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4676, allocations: 0 / 0.7175 GB, free: 4.422 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.655e-06/0.4676, allocations: 3.938 kB / 0.7175 GB, free: 4.418 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.0009356/0.4686, allocations: 0.5055 MB / 0.718 GB, free: 3.863 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.4686, allocations: 12.03 kB / 0.718 GB, free: 3.852 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.594e-05/0.4687, allocations: 4.891 kB / 0.718 GB, free: 3.848 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.4688, allocations: 171.5 kB / 0.7181 GB, free: 3.641 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.4689, allocations: 0 / 0.7181 GB, free: 3.641 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.4689, allocations: 7.938 kB / 0.7181 GB, free: 3.633 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.4691, allocations: 93.59 kB / 0.7182 GB, free: 3.535 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.4691, allocations: 3.984 kB / 0.7182 GB, free: 3.531 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.4691, allocations: 0 / 0.7182 GB, free: 3.531 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.323e-05/0.4691, allocations: 4 kB / 0.7182 GB, free: 3.527 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.4693, allocations: 67.95 kB / 0.7183 GB, free: 3.461 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005612/0.4698, allocations: 308.7 kB / 0.7186 GB, free: 3.109 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.868e-05/0.4699, allocations: 42.5 kB / 0.7186 GB, free: 3.059 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.191e-05/0.4699, allocations: 12.86 kB / 0.7186 GB, free: 3.043 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002923/0.4702, allocations: 259.4 kB / 0.7189 GB, free: 2.734 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.4703, allocations: 34.5 kB / 0.7189 GB, free: 2.691 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.4703, allocations: 0 / 0.7189 GB, free: 2.691 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0002264/0.4705, allocations: 77.66 kB / 0.719 GB, free: 2.609 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.4705, allocations: 55.34 kB / 0.7191 GB, free: 2.543 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.4707, allocations: 105.8 kB / 0.7192 GB, free: 2.43 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.4707, allocations: 25.7 kB / 0.7192 GB, free: 2.398 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.603e-05/0.4707, allocations: 99.97 kB / 0.7193 GB, free: 2.297 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/0.4708, allocations: 19.95 kB / 0.7193 GB, free: 2.277 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/0.4708, allocations: 33.59 kB / 0.7193 GB, free: 2.238 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000188/0.471, allocations: 310.8 kB / 0.7196 GB, free: 1.926 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.085e-05/0.471, allocations: 12 kB / 0.7196 GB, free: 1.914 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.664e-05/0.4711, allocations: 39.42 kB / 0.7197 GB, free: 1.863 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.4712, allocations: 59.86 kB / 0.7197 GB, free: 1.793 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.145e-06/0.4712, allocations: 0 / 0.7197 GB, free: 1.793 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001385/0.4713, allocations: 81.61 kB / 0.7198 GB, free: 1.707 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.4713, allocations: 11.94 kB / 0.7198 GB, free: 1.695 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.4714, allocations: 0 / 0.7198 GB, free: 1.695 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.4714, allocations: 96 / 0.7198 GB, free: 1.695 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.332e-05/0.4715, allocations: 19.94 kB / 0.7198 GB, free: 1.676 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.4715, allocations: 0 / 0.7198 GB, free: 1.676 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.45e-05/0.4715, allocations: 7.984 kB / 0.7198 GB, free: 1.668 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.4715, allocations: 8 kB / 0.7199 GB, free: 1.66 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 0.0001025/0.4716, allocations: 109.8 kB / 0.72 GB, free: 1.543 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.4716, allocations: 7.891 kB / 0.72 GB, free: 1.535 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000177/0.4718, allocations: 85.11 kB / 0.72 GB, free: 1.441 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4718, allocations: 0 / 0.72 GB, free: 1.441 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4718, allocations: 0 / 0.72 GB, free: 1.441 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.615e-05/0.4719, allocations: 85.05 kB / 0.7201 GB, free: 1.34 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.4719, allocations: 0 / 0.7201 GB, free: 1.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.244e-05/0.4719, allocations: 3.984 kB / 0.7201 GB, free: 1.336 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.186e-05/0.472, allocations: 7.984 kB / 0.7201 GB, free: 1.328 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001261/0.4721, allocations: 133 kB / 0.7203 GB, free: 1.191 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001796/0.4723, allocations: 242.6 kB / 0.7205 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.769e-05/0.4723, allocations: 12.25 kB / 0.7205 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.09e-05/0.4724, allocations: 87.27 kB / 0.7206 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of Backend: time 3.21e-07/0.4724, allocations: 0 / 0.7206 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00163/0.474, allocations: 0.5214 MB / 0.7211 GB, free: 328 kB / 0.545 GB Notification: Performance of SimCode: time 0.0007246/0.4747, allocations: 0.6181 MB / 0.7217 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of Templates: time 0.01175/0.4865, allocations: 6.829 MB / 0.7284 GB, free: 8.824 MB / 0.5606 GB " [Timeout remaining time 660] 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 -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.476277329958975]