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.001817/0.001817, allocations: 73.56 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.002612/0.002612, allocations: 160.5 kB / 24.5 MB, free: 3.715 MB / 14.72 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.46/1.46, allocations: 177.2 MB / 204.9 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 178] 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.2271/0.2271, allocations: 32.8 MB / 294.1 MB, free: 16 kB / 270.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 67.89 kB / 440.5 MB, free: 9.457 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2958, allocations: 65.44 MB / 0.4941 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1625/0.4584, allocations: 132.8 MB / 0.6238 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001823/0.4602, allocations: 1.199 MB / 0.625 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.883e-05/0.4602, allocations: 0 / 0.625 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003263/0.4605, allocations: 35.83 kB / 0.625 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00298/0.4635, allocations: 1.046 MB / 0.626 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 4.669e-06/0.4635, allocations: 0 / 0.626 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.4636, allocations: 51.66 kB / 0.6261 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.734e-05/0.4637, allocations: 0 / 0.6261 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.782e-05/0.4637, allocations: 15.98 kB / 0.6261 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.302e-05/0.4638, allocations: 35.84 kB / 0.6261 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.526e-06/0.4638, allocations: 0 / 0.6261 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002918/0.4667, allocations: 1.575 MB / 0.6277 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.293e-05/0.4668, allocations: 23.86 kB / 0.6277 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.165e-05/0.4668, allocations: 11.94 kB / 0.6277 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.4683, allocations: 0.8728 MB / 0.6285 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4683, allocations: 0 / 0.6285 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4683, allocations: 3.938 kB / 0.6285 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5e-06/0.4683, allocations: 4 kB / 0.6285 GB, free: 14.96 MB / 0.5294 GB 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.0006827/0.469, allocations: 428.6 kB / 0.629 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.469, allocations: 8.031 kB / 0.629 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.469, allocations: 4.938 kB / 0.629 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.309e-05/0.4691, allocations: 113.6 kB / 0.6291 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.4691, allocations: 11.98 kB / 0.6291 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-06/0.4691, allocations: 0 / 0.6291 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.4693, allocations: 73.67 kB / 0.6292 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.4693, allocations: 3.984 kB / 0.6292 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.4693, allocations: 0 / 0.6292 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/0.4693, allocations: 7.984 kB / 0.6292 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.483e-05/0.4694, allocations: 55.97 kB / 0.6292 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.4698, allocations: 248.3 kB / 0.6295 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.243e-05/0.4699, allocations: 30.56 kB / 0.6295 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.596e-05/0.4699, allocations: 12.86 kB / 0.6295 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001265/0.4701, allocations: 28.06 kB / 0.6295 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.4701, allocations: 34.56 kB / 0.6296 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.4701, allocations: 0 / 0.6296 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001849/0.4703, allocations: 61.56 kB / 0.6296 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.4703, allocations: 51.41 kB / 0.6297 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.881e-05/0.4704, allocations: 101.8 kB / 0.6298 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.4704, allocations: 29.7 kB / 0.6298 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.798e-05/0.4705, allocations: 95.98 kB / 0.6299 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.397e-05/0.4705, allocations: 15.89 kB / 0.6299 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/0.4705, allocations: 21.7 kB / 0.6299 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.4707, allocations: 319 kB / 0.6302 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.058e-05/0.4707, allocations: 7.938 kB / 0.6302 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.57e-05/0.4707, allocations: 35.42 kB / 0.6303 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.304e-05/0.4708, allocations: 51.36 kB / 0.6303 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4708, allocations: 4 kB / 0.6303 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001184/0.4709, allocations: 77.52 kB / 0.6304 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.4709, allocations: 7.938 kB / 0.6304 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.471, allocations: 4 kB / 0.6304 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.471, allocations: 4 kB / 0.6304 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.679e-05/0.471, allocations: 11.98 kB / 0.6304 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.4711, allocations: 7.938 kB / 0.6304 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.165e-05/0.4711, allocations: 3.938 kB / 0.6304 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.4711, allocations: 8 kB / 0.6304 GB, free: 12.82 MB / 0.5294 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 (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 8.36e-05/0.4712, allocations: 113.9 kB / 0.6305 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.4712, allocations: 11.86 kB / 0.6306 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001598/0.4714, allocations: 69.33 kB / 0.6306 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.4714, allocations: 0 / 0.6306 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4714, allocations: 480 / 0.6306 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.4714, allocations: 3.984 kB / 0.6306 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.4715, allocations: 105.3 kB / 0.6307 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4715, allocations: 4 kB / 0.6307 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.547e-05/0.4716, allocations: 11.98 kB / 0.6307 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.4716, allocations: 0 / 0.6307 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.4716, allocations: 3.938 kB / 0.6307 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4716, allocations: 0 / 0.6307 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.4716, allocations: 3.984 kB / 0.6308 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.4717, allocations: 147.5 kB / 0.6309 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.137e-06/0.4717, allocations: 4 kB / 0.6309 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.4717, allocations: 3.938 kB / 0.6309 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.585e-05/0.4718, allocations: 0 / 0.6309 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.825e-05/0.4718, allocations: 7.984 kB / 0.6309 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.4718, allocations: 4 kB / 0.6309 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.568e-05/0.4718, allocations: 83.28 kB / 0.631 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.4718, allocations: 0 / 0.631 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000491/0.4723, allocations: 147.5 kB / 0.6311 GB, free: 12.05 MB / 0.5294 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 (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.0007148/0.473, allocations: 314.5 kB / 0.6314 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001218/0.4732, allocations: 27.92 kB / 0.6315 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4732, allocations: 4 kB / 0.6315 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.84e-05/0.4732, allocations: 8 kB / 0.6315 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.4735, allocations: 12.17 kB / 0.6315 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003338/0.4738, allocations: 152.4 kB / 0.6316 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.655e-05/0.4739, allocations: 67.33 kB / 0.6317 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.636e-05/0.4739, allocations: 12.39 kB / 0.6317 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.718e-05/0.4739, allocations: 16.5 kB / 0.6317 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of SimCode: time 4.81e-07/0.4739, allocations: 0 / 0.6317 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of Templates: time 0.007237/0.4812, allocations: 3.374 MB / 0.635 GB, free: 8.035 MB / 0.5294 GB " [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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.376888019032776]