Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.001712/0.001712, allocations: 103.6 kB / 21.19 MB, free: 0.6406 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.002147/0.002147, allocations: 219.5 kB / 24.49 MB, free: 3.93 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.498/1.498, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 43.94 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2679, allocations: 53.38 MB / 432.3 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07512/0.3431, allocations: 58.98 MB / 491.3 MB, free: 11.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007512/0.3506, allocations: 4.967 MB / 496.3 MB, free: 6.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003623/0.3509, allocations: 7.938 kB / 496.3 MB, free: 6.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.352, allocations: 330 kB / 496.6 MB, free: 6.188 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001082/0.3531, allocations: 0.5206 MB / 497.1 MB, free: 5.664 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02021/0.3733, allocations: 7.462 MB / 0.4928 GB, free: 14.21 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002481/0.3758, allocations: 1.571 MB / 0.4943 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003363/0.3761, allocations: 149.4 kB / 0.4945 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.3773, allocations: 0.6424 MB / 0.4951 GB, free: 11.83 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009886/0.3783, allocations: 0.6034 MB / 0.4957 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001285/0.3784, allocations: 84 kB / 0.4958 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01985/0.3983, allocations: 9.865 MB / 0.5054 GB, free: 1.266 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005658/0.3988, allocations: 335.1 kB / 0.5057 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006704/0.3995, allocations: 374.8 kB / 0.5061 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01474/0.4142, allocations: 5.888 MB / 0.5118 GB, free: 10.67 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.4143, allocations: 0 / 0.5118 GB, free: 10.67 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4143, allocations: 0 / 0.5118 GB, free: 10.67 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.473e-05/0.4143, allocations: 4 kB / 0.5118 GB, free: 10.66 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.004041/0.4183, allocations: 1.525 MB / 0.5133 GB, free: 9.102 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.4184, allocations: 8.031 kB / 0.5133 GB, free: 9.094 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006437/0.419, allocations: 91.56 kB / 0.5134 GB, free: 9.004 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007548/0.4198, allocations: 383.1 kB / 0.5138 GB, free: 8.605 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.808e-05/0.4198, allocations: 49.31 kB / 0.5138 GB, free: 8.559 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.4199, allocations: 71.94 kB / 0.5139 GB, free: 8.488 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002127/0.422, allocations: 1.216 MB / 0.5151 GB, free: 7.164 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.881e-05/0.4221, allocations: 4 kB / 0.5151 GB, free: 7.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-05/0.4222, allocations: 28 kB / 0.5151 GB, free: 7.133 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.4222, allocations: 16 kB / 0.5151 GB, free: 7.117 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/0.4242, allocations: 1.028 MB / 0.5161 GB, free: 6.09 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01503/0.4392, allocations: 4.05 MB / 0.5201 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00192/0.4411, allocations: 0.704 MB / 0.5208 GB, free: 1.285 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006186/0.4418, allocations: 386.1 kB / 0.5211 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01171/0.4535, allocations: 2.612 MB / 0.5237 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.038e-05/0.4535, allocations: 43.22 kB / 0.5237 GB, free: 14.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 3.095e-06/0.4535, allocations: 0 / 0.5237 GB, free: 14.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.01037/0.4639, allocations: 3.157 MB / 0.5268 GB, free: 11.06 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/0.464, allocations: 68.41 kB / 0.5269 GB, free: 10.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004056/0.4644, allocations: 297.8 kB / 0.5272 GB, free: 10.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.4645, allocations: 45.7 kB / 0.5272 GB, free: 10.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.4647, allocations: 249 kB / 0.5274 GB, free: 10.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003067/0.465, allocations: 321.2 kB / 0.5277 GB, free: 10.06 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002738/0.4653, allocations: 162.6 kB / 0.5279 GB, free: 9.895 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.4655, allocations: 358.8 kB / 0.5282 GB, free: 9.535 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006151/0.4661, allocations: 365.8 kB / 0.5286 GB, free: 9.176 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009859/0.4671, allocations: 496.2 kB / 0.5291 GB, free: 8.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001856/0.4689, allocations: 0.902 MB / 0.5299 GB, free: 7.727 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.4689, allocations: 0 / 0.5299 GB, free: 7.727 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002766/0.4717, allocations: 1.117 MB / 0.531 GB, free: 6.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/0.4717, allocations: 11.94 kB / 0.531 GB, free: 6.578 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.4717, allocations: 0 / 0.531 GB, free: 6.578 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009107/0.4726, allocations: 163.3 kB / 0.5312 GB, free: 6.406 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000819/0.4735, allocations: 191.9 kB / 0.5314 GB, free: 6.219 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003443/0.4769, allocations: 3.872 MB / 0.5352 GB, free: 2.098 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000501/0.4774, allocations: 28.03 kB / 0.5352 GB, free: 2.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.4775, allocations: 43.98 kB / 0.5352 GB, free: 2.027 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 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.0004224/0.4779, allocations: 221.7 kB / 0.5354 GB, free: 1.801 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004075/0.4783, allocations: 55.72 kB / 0.5355 GB, free: 1.746 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002584/0.4809, allocations: 1.272 MB / 0.5367 GB, free: 448 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.4809, allocations: 8 kB / 0.5367 GB, free: 440 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4809, allocations: 7.938 kB / 0.5368 GB, free: 432 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2333/0.7143, allocations: 1.324 MB / 0.5381 GB, free: 106.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003367/0.7176, allocations: 1.718 MB / 0.5397 GB, free: 106 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.7176, allocations: 1.688 kB / 0.5397 GB, free: 106 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007478/0.7184, allocations: 162.8 kB / 0.5399 GB, free: 106 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001835/0.7202, allocations: 302.2 kB / 0.5402 GB, free: 106 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.252e-05/0.7203, allocations: 28 kB / 0.5402 GB, free: 106 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005993/0.7209, allocations: 1.291 MB / 0.5415 GB, free: 104.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7209, allocations: 0 / 0.5415 GB, free: 104.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002475/0.7234, allocations: 1.411 MB / 0.5428 GB, free: 104.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.7235, allocations: 51.36 kB / 0.5429 GB, free: 104.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.96e-05/0.7236, allocations: 20.81 kB / 0.5429 GB, free: 104.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005604/0.7242, allocations: 30.59 kB / 0.5429 GB, free: 104.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.7243, allocations: 58.78 kB / 0.543 GB, free: 104.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.396e-05/0.7244, allocations: 44.44 kB / 0.543 GB, free: 104.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002728/0.7247, allocations: 240.9 kB / 0.5433 GB, free: 104 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7247, allocations: 0 / 0.5433 GB, free: 104 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003723/0.7284, allocations: 1.434 MB / 0.5447 GB, free: 103.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005001/0.7334, allocations: 1.733 MB / 0.5464 GB, free: 103.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002015/0.7354, allocations: 1.109 MB / 0.5474 GB, free: 103.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/0.7354, allocations: 1.75 kB / 0.5474 GB, free: 103.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007682/0.7362, allocations: 485.8 kB / 0.5479 GB, free: 102.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/0.7377, allocations: 331.1 kB / 0.5482 GB, free: 102.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002319/0.74, allocations: 1.718 MB / 0.5499 GB, free: 101.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.7402, allocations: 317 kB / 0.5502 GB, free: 101.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002569/0.7405, allocations: 86.84 kB / 0.5503 GB, free: 101.5 MB / 446.1 MB Notification: Performance of SimCode: time 6.11e-07/0.7405, allocations: 0 / 0.5503 GB, free: 101.5 MB / 446.1 MB Notification: Performance of Templates: time 0.0422/0.7827, allocations: 40.87 MB / 0.5902 GB, free: 61.33 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.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: 21.42784987599589]