Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.001595/0.001595, allocations: 100 kB / 21.18 MB, free: 0.6484 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.0021/0.0021, allocations: 184.9 kB / 24.45 MB, free: 3.961 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.412/1.412, allocations: 225.7 MB / 253.3 MB, free: 12.79 MB / 206.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.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.0.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.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 51.91 kB / 371.6 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2552, allocations: 52.19 MB / 423.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.0764/0.3316, allocations: 58.85 MB / 482.7 MB, free: 3.422 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007921/0.3395, allocations: 4.967 MB / 487.6 MB, free: 14.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005779/0.3401, allocations: 7.938 kB / 487.7 MB, free: 14.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.3413, allocations: 334 kB / 488 MB, free: 14.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001249/0.3425, allocations: 0.5128 MB / 488.5 MB, free: 13.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0194/0.3619, allocations: 7.444 MB / 495.9 MB, free: 6.148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002095/0.364, allocations: 1.567 MB / 497.5 MB, free: 4.578 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003752/0.3644, allocations: 161.3 kB / 497.7 MB, free: 4.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001205/0.3656, allocations: 0.6386 MB / 498.3 MB, free: 3.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/0.3667, allocations: 0.5682 MB / 498.9 MB, free: 3.199 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002572/0.367, allocations: 84 kB / 499 MB, free: 3.117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01905/0.386, allocations: 9.517 MB / 0.4966 GB, free: 9.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005579/0.3866, allocations: 331.1 kB / 0.4969 GB, free: 9.266 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001033/0.3876, allocations: 378.8 kB / 0.4972 GB, free: 8.895 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01383/0.4015, allocations: 5.857 MB / 0.5029 GB, free: 3.023 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.4015, allocations: 4 kB / 0.503 GB, free: 3.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4015, allocations: 0 / 0.503 GB, free: 3.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.601e-05/0.4015, allocations: 0 / 0.503 GB, free: 3.02 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.005144/0.4066, allocations: 1.525 MB / 0.5044 GB, free: 1.457 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.4067, allocations: 8.031 kB / 0.5045 GB, free: 1.449 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005396/0.4072, allocations: 87.56 kB / 0.5045 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008284/0.4081, allocations: 391.1 kB / 0.5049 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.796e-05/0.4081, allocations: 49.31 kB / 0.505 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.4082, allocations: 60 kB / 0.505 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002099/0.4103, allocations: 1.216 MB / 0.5062 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/0.4103, allocations: 0 / 0.5062 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.28e-05/0.4104, allocations: 28 kB / 0.5062 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.4104, allocations: 12 kB / 0.5062 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002006/0.4125, allocations: 1.028 MB / 0.5072 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01403/0.4265, allocations: 4.058 MB / 0.5112 GB, free: 10.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001977/0.4285, allocations: 0.7152 MB / 0.5119 GB, free: 9.633 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006409/0.4291, allocations: 382.6 kB / 0.5123 GB, free: 9.258 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01082/0.4399, allocations: 2.619 MB / 0.5148 GB, free: 6.637 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.564e-05/0.44, allocations: 47.22 kB / 0.5149 GB, free: 6.582 MB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 2.715e-06/0.44, allocations: 0 / 0.5149 GB, free: 6.582 MB / 430.1 MB Notification: Performance of matching and sorting (n=88): time 0.0102/0.4502, allocations: 3.159 MB / 0.518 GB, free: 3.395 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.4502, allocations: 60.41 kB / 0.518 GB, free: 3.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003807/0.4506, allocations: 301.8 kB / 0.5183 GB, free: 3.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.4507, allocations: 49.64 kB / 0.5183 GB, free: 2.965 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.4509, allocations: 245 kB / 0.5186 GB, free: 2.719 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002798/0.4512, allocations: 329.2 kB / 0.5189 GB, free: 2.395 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002574/0.4514, allocations: 158.6 kB / 0.519 GB, free: 2.234 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.4516, allocations: 358.8 kB / 0.5194 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006683/0.4523, allocations: 377.8 kB / 0.5198 GB, free: 1.504 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.4533, allocations: 496.2 kB / 0.5202 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001843/0.4551, allocations: 0.8943 MB / 0.5211 GB, free: 64 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.4551, allocations: 0 / 0.5211 GB, free: 64 kB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002762/0.4579, allocations: 1.113 MB / 0.5222 GB, free: 14.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.4579, allocations: 7.938 kB / 0.5222 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.4579, allocations: 4 kB / 0.5222 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008673/0.4588, allocations: 167.6 kB / 0.5224 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007886/0.4596, allocations: 191.7 kB / 0.5225 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00325/0.4628, allocations: 3.861 MB / 0.5263 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004098/0.4632, allocations: 19.94 kB / 0.5263 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.4634, allocations: 47.97 kB / 0.5264 GB, free: 10.38 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.0004065/0.4638, allocations: 213.7 kB / 0.5266 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004351/0.4642, allocations: 67.66 kB / 0.5266 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002534/0.4667, allocations: 1.272 MB / 0.5279 GB, free: 8.785 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.4667, allocations: 15.97 kB / 0.5279 GB, free: 8.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4668, allocations: 3.938 kB / 0.5279 GB, free: 8.766 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001963/0.4687, allocations: 1.32 MB / 0.5292 GB, free: 7.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003382/0.4721, allocations: 1.734 MB / 0.5309 GB, free: 5.535 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.4721, allocations: 0 / 0.5309 GB, free: 5.535 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007172/0.4728, allocations: 163.8 kB / 0.531 GB, free: 5.375 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001755/0.4746, allocations: 301.3 kB / 0.5313 GB, free: 5.074 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.293e-05/0.4747, allocations: 31.97 kB / 0.5314 GB, free: 5.043 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009324/0.4756, allocations: 1.289 MB / 0.5326 GB, free: 3.707 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4756, allocations: 0 / 0.5326 GB, free: 3.707 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002751/0.4783, allocations: 1.406 MB / 0.534 GB, free: 2.273 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.4785, allocations: 47.77 kB / 0.534 GB, free: 2.227 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.4786, allocations: 32.06 kB / 0.5341 GB, free: 2.195 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005405/0.4791, allocations: 31.97 kB / 0.5341 GB, free: 2.164 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.4792, allocations: 56.89 kB / 0.5342 GB, free: 2.109 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/0.4793, allocations: 43.97 kB / 0.5342 GB, free: 2.066 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003002/0.4796, allocations: 239 kB / 0.5344 GB, free: 1.836 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4796, allocations: 0 / 0.5344 GB, free: 1.836 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003857/0.4835, allocations: 1.415 MB / 0.5358 GB, free: 428 kB / 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.2153/0.6988, allocations: 1.741 MB / 0.5375 GB, free: 114.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002224/0.7011, allocations: 1.111 MB / 0.5386 GB, free: 114.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.7011, allocations: 1.375 kB / 0.5386 GB, free: 114.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008508/0.7019, allocations: 480 kB / 0.539 GB, free: 114.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/0.7036, allocations: 339.2 kB / 0.5394 GB, free: 114.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0025/0.7061, allocations: 1.716 MB / 0.541 GB, free: 113.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.7064, allocations: 317.4 kB / 0.5413 GB, free: 113.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000288/0.7067, allocations: 86.09 kB / 0.5414 GB, free: 113.4 MB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/0.7067, allocations: 0 / 0.5414 GB, free: 113.4 MB / 446.1 MB Notification: Performance of Templates: time 0.04531/0.752, allocations: 40.59 MB / 0.5811 GB, free: 76.81 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 20.37883695308119]