Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.001484/0.001484, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001712/0.001712, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.387/1.387, allocations: 230.6 MB / 258.3 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] 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(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.1.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.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 43.94 kB / 379 MB, free: 2.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2391, allocations: 53.36 MB / 432.4 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.06049/0.2996, allocations: 51.17 MB / 483.6 MB, free: 3.566 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006904/0.3065, allocations: 5.242 MB / 488.8 MB, free: 14.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003035/0.3068, allocations: 4 kB / 488.8 MB, free: 14.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007928/0.3076, allocations: 258.5 kB / 489.1 MB, free: 14.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008093/0.3084, allocations: 374 kB / 489.4 MB, free: 13.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01778/0.3262, allocations: 7.205 MB / 496.6 MB, free: 6.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001562/0.3278, allocations: 1.107 MB / 497.7 MB, free: 5.371 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002237/0.328, allocations: 98.67 kB / 497.8 MB, free: 5.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006969/0.335, allocations: 3.607 MB / 0.4897 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000666/0.3356, allocations: 434.5 kB / 0.4901 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.724e-05/0.3357, allocations: 60 kB / 0.4902 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01896/0.3547, allocations: 10.18 MB / 0.5001 GB, free: 6.977 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004185/0.3551, allocations: 227.4 kB / 0.5003 GB, free: 6.754 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004716/0.3556, allocations: 314.9 kB / 0.5006 GB, free: 6.445 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01276/0.3683, allocations: 5.526 MB / 0.506 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3683, allocations: 4 kB / 0.506 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3683, allocations: 0 / 0.506 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.3683, allocations: 4 kB / 0.506 GB, free: 0.8984 MB / 414.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.003363/0.3717, allocations: 1.327 MB / 0.5073 GB, free: 15.53 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.3717, allocations: 8.031 kB / 0.5073 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003614/0.3721, allocations: 67.66 kB / 0.5074 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005379/0.3726, allocations: 312.2 kB / 0.5077 GB, free: 15.13 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/0.3727, allocations: 29 kB / 0.5077 GB, free: 15.1 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.643e-05/0.3727, allocations: 48 kB / 0.5078 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.374, allocations: 0.5804 MB / 0.5083 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.3741, allocations: 4 kB / 0.5083 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.421e-05/0.3741, allocations: 24 kB / 0.5084 GB, free: 14.44 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.3741, allocations: 8 kB / 0.5084 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/0.3755, allocations: 0.7534 MB / 0.5091 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01295/0.3885, allocations: 4.168 MB / 0.5132 GB, free: 9.367 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.3897, allocations: 0.5101 MB / 0.5137 GB, free: 8.848 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003771/0.3901, allocations: 247.9 kB / 0.5139 GB, free: 8.605 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01043/0.4005, allocations: 2.542 MB / 0.5164 GB, free: 6.062 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/0.4006, allocations: 39 kB / 0.5164 GB, free: 6.016 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 1.993e-06/0.4006, allocations: 0 / 0.5164 GB, free: 6.016 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.00584/0.4064, allocations: 1.893 MB / 0.5183 GB, free: 4.082 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.4065, allocations: 59.89 kB / 0.5183 GB, free: 4.012 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004079/0.4069, allocations: 324.2 kB / 0.5186 GB, free: 3.688 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.741e-05/0.407, allocations: 37.64 kB / 0.5187 GB, free: 3.645 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.4071, allocations: 208.7 kB / 0.5189 GB, free: 3.438 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/0.4073, allocations: 206.3 kB / 0.5191 GB, free: 3.234 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000184/0.4075, allocations: 114.3 kB / 0.5192 GB, free: 3.117 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.4076, allocations: 346.8 kB / 0.5195 GB, free: 2.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004234/0.4081, allocations: 241.2 kB / 0.5197 GB, free: 2.535 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006638/0.4087, allocations: 336.3 kB / 0.5201 GB, free: 2.176 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.4099, allocations: 0.6034 MB / 0.5207 GB, free: 1.539 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4099, allocations: 0 / 0.5207 GB, free: 1.539 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001899/0.4118, allocations: 0.7522 MB / 0.5214 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.4118, allocations: 11.94 kB / 0.5214 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.4118, allocations: 0 / 0.5214 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005148/0.4124, allocations: 106.5 kB / 0.5215 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005158/0.4129, allocations: 127.8 kB / 0.5216 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002758/0.4156, allocations: 3.274 MB / 0.5248 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00034/0.416, allocations: 12 kB / 0.5248 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-05/0.4161, allocations: 31.98 kB / 0.5249 GB, free: 12.95 MB / 446.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.0003093/0.4164, allocations: 201.6 kB / 0.5251 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003086/0.4167, allocations: 47.77 kB / 0.5251 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/0.4183, allocations: 0.8075 MB / 0.5259 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.4183, allocations: 7.938 kB / 0.5259 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.4183, allocations: 0 / 0.5259 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001185/0.4195, allocations: 0.7557 MB / 0.5266 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/0.4218, allocations: 1.281 MB / 0.5279 GB, free: 9.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.4218, allocations: 8.031 kB / 0.5279 GB, free: 9.672 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000456/0.4223, allocations: 95.89 kB / 0.528 GB, free: 9.578 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009258/0.4232, allocations: 152.6 kB / 0.5281 GB, free: 9.426 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.81e-05/0.4232, allocations: 19.98 kB / 0.5281 GB, free: 9.406 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004751/0.4237, allocations: 0.6484 MB / 0.5288 GB, free: 8.734 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.592e-06/0.4237, allocations: 0 / 0.5288 GB, free: 8.734 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/0.4255, allocations: 0.9055 MB / 0.5297 GB, free: 7.805 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.4256, allocations: 35.8 kB / 0.5297 GB, free: 7.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.875e-05/0.4256, allocations: 15.94 kB / 0.5297 GB, free: 7.754 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000395/0.426, allocations: 19.98 kB / 0.5297 GB, free: 7.734 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.682e-05/0.4261, allocations: 40.36 kB / 0.5298 GB, free: 7.695 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-05/0.4262, allocations: 27.92 kB / 0.5298 GB, free: 7.668 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003068/0.4265, allocations: 267 kB / 0.5301 GB, free: 7.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4265, allocations: 0 / 0.5301 GB, free: 7.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003569/0.4301, allocations: 1.333 MB / 0.5314 GB, free: 6.074 MB / 446.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.005859/0.4359, allocations: 1.698 MB / 0.533 GB, free: 4.363 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001792/0.4377, allocations: 0.7724 MB / 0.5338 GB, free: 3.562 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.4377, allocations: 0 / 0.5338 GB, free: 3.562 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006029/0.4383, allocations: 287.8 kB / 0.534 GB, free: 3.281 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/0.4398, allocations: 281.9 kB / 0.5343 GB, free: 3.008 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.4419, allocations: 1.15 MB / 0.5354 GB, free: 1.816 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004898/0.4424, allocations: 0.8364 MB / 0.5363 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002233/0.4426, allocations: 71.42 kB / 0.5363 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4426, allocations: 0 / 0.5363 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of Templates: time 0.2156/0.6582, allocations: 34.17 MB / 0.5697 GB, free: 80.95 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 15.140633065020666]