Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001662/0.001662, allocations: 74.34 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.001904/0.001904, allocations: 157.6 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.524/1.524, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2127/0.2127, allocations: 34.28 MB / 295.5 MB, free: 14.58 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+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.1.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.1.0_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 71.88 kB / 443.1 MB, free: 6.691 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2969, allocations: 66.02 MB / 0.4972 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1617/0.4586, allocations: 132.8 MB / 0.6269 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00199/0.4606, allocations: 1.301 MB / 0.6282 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.301e-05/0.4606, allocations: 0 / 0.6282 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003264/0.4609, allocations: 31.83 kB / 0.6282 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002827/0.4638, allocations: 1.089 MB / 0.6293 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.178e-06/0.4638, allocations: 0 / 0.6293 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.4639, allocations: 67.66 kB / 0.6293 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.308e-05/0.4639, allocations: 0 / 0.6293 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.444e-05/0.464, allocations: 31.84 kB / 0.6294 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.606e-05/0.4641, allocations: 35.84 kB / 0.6294 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.947e-06/0.4641, allocations: 0 / 0.6294 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002875/0.467, allocations: 1.613 MB / 0.631 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.989e-05/0.467, allocations: 11.92 kB / 0.631 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.193e-05/0.467, allocations: 15.94 kB / 0.631 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001384/0.4684, allocations: 0.8922 MB / 0.6319 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.4684, allocations: 0 / 0.6319 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.422e-06/0.4684, allocations: 0 / 0.6319 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.4684, allocations: 0 / 0.6319 GB, free: 11.41 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000699/0.4691, allocations: 440.5 kB / 0.6323 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.4692, allocations: 16.02 kB / 0.6323 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/0.4692, allocations: 4.891 kB / 0.6323 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.4693, allocations: 113.7 kB / 0.6324 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.4693, allocations: 7.984 kB / 0.6324 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.4693, allocations: 4 kB / 0.6324 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.4695, allocations: 85.61 kB / 0.6325 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.4695, allocations: 0 / 0.6325 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.4695, allocations: 0 / 0.6325 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.733e-05/0.4695, allocations: 7.984 kB / 0.6325 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.4697, allocations: 63.97 kB / 0.6326 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004392/0.4701, allocations: 264.3 kB / 0.6328 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.507e-05/0.4702, allocations: 46.5 kB / 0.6329 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.52e-05/0.4702, allocations: 16.84 kB / 0.6329 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001336/0.4704, allocations: 28.11 kB / 0.6329 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.4704, allocations: 30.56 kB / 0.633 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.4704, allocations: 0 / 0.633 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0002056/0.4706, allocations: 77.61 kB / 0.633 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.4706, allocations: 55.34 kB / 0.6331 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.984e-05/0.4707, allocations: 105.8 kB / 0.6332 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.4707, allocations: 25.7 kB / 0.6332 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.952e-05/0.4708, allocations: 100 kB / 0.6333 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.4708, allocations: 19.8 kB / 0.6333 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-05/0.4709, allocations: 25.7 kB / 0.6333 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.471, allocations: 314.8 kB / 0.6336 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.348e-05/0.471, allocations: 15.97 kB / 0.6337 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.328e-05/0.4711, allocations: 39.42 kB / 0.6337 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.943e-05/0.4712, allocations: 51.38 kB / 0.6338 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4712, allocations: 0 / 0.6338 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001372/0.4713, allocations: 86.11 kB / 0.6338 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.4713, allocations: 7.938 kB / 0.6338 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4713, allocations: 8.094 kB / 0.6338 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.4713, allocations: 64 / 0.6338 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-05/0.4714, allocations: 23.92 kB / 0.6339 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.4714, allocations: 3.984 kB / 0.6339 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.459e-05/0.4715, allocations: 7.953 kB / 0.6339 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.4715, allocations: 4 kB / 0.6339 GB, free: 9.16 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 (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.442e-05/0.4716, allocations: 113.9 kB / 0.634 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.4716, allocations: 7.938 kB / 0.634 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001701/0.4718, allocations: 81.36 kB / 0.6341 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.4718, allocations: 112 / 0.6341 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.4718, allocations: 3.938 kB / 0.6341 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.4718, allocations: 0 / 0.6341 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.4719, allocations: 113.3 kB / 0.6342 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4719, allocations: 0 / 0.6342 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.363e-05/0.472, allocations: 11.98 kB / 0.6342 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.472, allocations: 4 kB / 0.6342 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.607e-06/0.472, allocations: 3.938 kB / 0.6342 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.472, allocations: 0 / 0.6342 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.472, allocations: 0 / 0.6342 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.4721, allocations: 159.5 kB / 0.6344 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.223e-06/0.4721, allocations: 0 / 0.6344 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.4722, allocations: 7.922 kB / 0.6344 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.644e-05/0.4722, allocations: 7.984 kB / 0.6344 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.021e-05/0.4722, allocations: 3.938 kB / 0.6344 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.4722, allocations: 8 kB / 0.6344 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.157e-05/0.4723, allocations: 91.39 kB / 0.6345 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.4723, allocations: 0 / 0.6345 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005073/0.4728, allocations: 151.5 kB / 0.6346 GB, free: 8.344 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 (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.0007502/0.4736, allocations: 326.5 kB / 0.6349 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001246/0.4737, allocations: 35.92 kB / 0.635 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4737, allocations: 0 / 0.635 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.075e-05/0.4737, allocations: 20.17 kB / 0.635 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.474, allocations: 18.28 kB / 0.635 GB, free: 7.945 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004061/0.4744, allocations: 173.1 kB / 0.6352 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.087e-05/0.4745, allocations: 71.3 kB / 0.6352 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.983e-05/0.4745, allocations: 19.97 kB / 0.6353 GB, free: 7.641 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.172e-05/0.4746, allocations: 12.5 kB / 0.6353 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of SimCode: time 3.1e-07/0.4746, allocations: 0 / 0.6353 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of Templates: time 0.008001/0.4826, allocations: 3.657 MB / 0.6388 GB, free: 3.98 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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.318984416080639]