Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001655/0.001656, allocations: 117 kB / 18.41 MB, free: 4.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001945/0.001945, allocations: 190.9 kB / 21.35 MB, free: 1.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 247.1 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 51.92 kB / 358.7 MB, free: 8.348 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09925/0.1008, allocations: 49.43 MB / 408.1 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2419/0.3427, allocations: 50.54 MB / 458.7 MB, free: 11.45 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006579/0.3493, allocations: 5.191 MB / 463.8 MB, free: 8.664 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004291/0.3498, allocations: 7.75 kB / 463.9 MB, free: 8.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008821/0.3507, allocations: 244.6 kB / 464.1 MB, free: 8.566 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007876/0.3515, allocations: 366.6 kB / 464.5 MB, free: 8.379 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0171/0.3686, allocations: 7.1 MB / 471.5 MB, free: 5.18 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001644/0.3703, allocations: 1.095 MB / 472.6 MB, free: 4.566 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002646/0.3706, allocations: 143.1 kB / 472.8 MB, free: 4.504 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006958/0.3775, allocations: 3.591 MB / 476.4 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005874/0.3782, allocations: 400.1 kB / 476.8 MB, free: 2.355 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.918e-05/0.3783, allocations: 59.12 kB / 476.8 MB, free: 2.355 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01837/0.3966, allocations: 9.925 MB / 486.7 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003893/0.3971, allocations: 231.4 kB / 487 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005312/0.3976, allocations: 302.9 kB / 487.3 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0128/0.4104, allocations: 5.515 MB / 492.8 MB, free: 4.895 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.4105, allocations: 0 / 492.8 MB, free: 4.895 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4105, allocations: 4 kB / 492.8 MB, free: 4.891 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.4105, allocations: 0 / 492.8 MB, free: 4.891 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003483/0.414, allocations: 1.398 MB / 494.2 MB, free: 3.438 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.414, allocations: 15.89 kB / 494.2 MB, free: 3.422 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003622/0.4144, allocations: 59.7 kB / 494.3 MB, free: 3.363 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005352/0.415, allocations: 374.2 kB / 494.6 MB, free: 2.957 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.87e-05/0.415, allocations: 33 kB / 494.7 MB, free: 2.926 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.843e-05/0.4151, allocations: 44 kB / 494.7 MB, free: 2.883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.4164, allocations: 0.5887 MB / 495.3 MB, free: 2.285 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.4165, allocations: 0 / 495.3 MB, free: 2.285 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-05/0.4165, allocations: 20 kB / 495.3 MB, free: 2.266 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.4165, allocations: 8 kB / 495.3 MB, free: 2.258 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001429/0.418, allocations: 0.7417 MB / 496.1 MB, free: 1.516 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01719/0.4352, allocations: 11.98 MB / 0.4961 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.4366, allocations: 0.5294 MB / 0.4966 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004108/0.437, allocations: 259.4 kB / 0.4969 GB, free: 2.676 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01574/0.4527, allocations: 11.89 MB / 0.5085 GB, free: 4.477 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.38e-05/0.4528, allocations: 39 kB / 0.5085 GB, free: 4.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=50): time 2.535e-06/0.4528, allocations: 8 kB / 0.5086 GB, free: 4.422 MB / 414.1 MB Notification: Performance of matching and sorting (n=55): time 0.006156/0.459, allocations: 2.128 MB / 0.5106 GB, free: 2.211 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.4591, allocations: 55.97 kB / 0.5107 GB, free: 2.145 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000399/0.4595, allocations: 315 kB / 0.511 GB, free: 1.832 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.542e-05/0.4596, allocations: 37.7 kB / 0.511 GB, free: 1.789 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.4597, allocations: 208.7 kB / 0.5112 GB, free: 1.582 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.4599, allocations: 198.3 kB / 0.5114 GB, free: 1.387 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001892/0.4601, allocations: 114.2 kB / 0.5115 GB, free: 1.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.4602, allocations: 350.8 kB / 0.5119 GB, free: 0.918 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000411/0.4607, allocations: 233 kB / 0.5121 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006791/0.4614, allocations: 351.3 kB / 0.5124 GB, free: 320 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/0.4626, allocations: 0.5995 MB / 0.513 GB, free: 15.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4626, allocations: 0 / 0.513 GB, free: 15.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001927/0.4646, allocations: 0.7558 MB / 0.5137 GB, free: 14.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.4646, allocations: 8 kB / 0.5137 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.4646, allocations: 0 / 0.5137 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005194/0.4651, allocations: 110.7 kB / 0.5138 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005244/0.4657, allocations: 123.8 kB / 0.514 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002907/0.4686, allocations: 3.469 MB / 0.5174 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003448/0.469, allocations: 20.02 kB / 0.5174 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.121e-05/0.4691, allocations: 32.19 kB / 0.5174 GB, free: 10.84 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003051/0.4694, allocations: 193.6 kB / 0.5176 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000316/0.4697, allocations: 43.77 kB / 0.5176 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001677/0.4714, allocations: 0.8229 MB / 0.5184 GB, free: 9.73 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.4714, allocations: 8 kB / 0.5184 GB, free: 9.723 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.4714, allocations: 3.938 kB / 0.5184 GB, free: 9.719 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001246/0.4727, allocations: 0.7596 MB / 0.5192 GB, free: 8.887 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002226/0.4749, allocations: 1.303 MB / 0.5205 GB, free: 7.523 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-06/0.4749, allocations: 0 / 0.5205 GB, free: 7.523 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004594/0.4754, allocations: 103.8 kB / 0.5206 GB, free: 7.422 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009286/0.4763, allocations: 152.7 kB / 0.5207 GB, free: 7.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-05/0.4764, allocations: 19.94 kB / 0.5207 GB, free: 7.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004754/0.4769, allocations: 0.6446 MB / 0.5214 GB, free: 6.582 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4769, allocations: 0 / 0.5214 GB, free: 6.582 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/0.4787, allocations: 0.9133 MB / 0.5222 GB, free: 5.645 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.4788, allocations: 121 kB / 0.5224 GB, free: 5.508 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.23e-05/0.4789, allocations: 12 kB / 0.5224 GB, free: 5.496 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003958/0.4793, allocations: 24.06 kB / 0.5224 GB, free: 5.473 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.166e-05/0.4794, allocations: 36.39 kB / 0.5224 GB, free: 5.438 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-05/0.4794, allocations: 23.98 kB / 0.5224 GB, free: 5.414 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003143/0.4798, allocations: 257.9 kB / 0.5227 GB, free: 5.164 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4798, allocations: 0 / 0.5227 GB, free: 5.164 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003928/0.4837, allocations: 1.333 MB / 0.524 GB, free: 3.828 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005687/0.4894, allocations: 1.694 MB / 0.5257 GB, free: 2.133 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001792/0.4912, allocations: 0.8081 MB / 0.5264 GB, free: 1.293 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.4913, allocations: 0 / 0.5264 GB, free: 1.293 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005943/0.4919, allocations: 295.1 kB / 0.5267 GB, free: 1.004 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001521/0.4934, allocations: 289.4 kB / 0.527 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.4954, allocations: 1.141 MB / 0.5281 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004688/0.4959, allocations: 0.8287 MB / 0.5289 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/0.4961, allocations: 67.41 kB / 0.529 GB, free: 14.62 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4962, allocations: 4 kB / 0.529 GB, free: 14.62 MB / 446.1 MB Notification: Performance of Templates: time 0.04906/0.5452, allocations: 33.87 MB / 0.5621 GB, free: 12.75 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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: 16.00744140695315]