Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.001065/0.001065, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 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.001254/0.001254, allocations: 165.8 kB / 24.82 MB, free: 9.266 MB / 18.57 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.051/1.051, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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.35/0.35, allocations: 34.26 MB / 296.1 MB, free: 0.6406 MB / 266.7 MB " [Timeout remaining time 179] 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.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 378.5 MB, free: 2.332 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.897e-05, allocations: 5.266 kB / 378.5 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.4163/0.4163, allocations: 146 MB / 0.5122 GB, free: 16.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005614/0.4219, allocations: 2.578 MB / 0.5147 GB, free: 15.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.4231, allocations: 27.19 kB / 0.5147 GB, free: 15.01 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007151/0.4238, allocations: 211.2 kB / 0.5149 GB, free: 14.9 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002607/0.4264, allocations: 1.099 MB / 0.516 GB, free: 14.29 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002028/0.4284, allocations: 0.8342 MB / 0.5168 GB, free: 13.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001923/0.4304, allocations: 1.899 MB / 0.5187 GB, free: 13 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006448/0.431, allocations: 417.3 kB / 0.5191 GB, free: 12.75 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001695/0.4327, allocations: 1.149 MB / 0.5202 GB, free: 12.29 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008095/0.4335, allocations: 0.5884 MB / 0.5208 GB, free: 12.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.4336, allocations: 61.41 kB / 0.5208 GB, free: 12.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008017/0.4344, allocations: 443.6 kB / 0.5213 GB, free: 12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002119/0.4346, allocations: 290.2 kB / 0.5215 GB, free: 11.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000226/0.4349, allocations: 278.7 kB / 0.5218 GB, free: 11.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.4359, allocations: 1 MB / 0.5228 GB, free: 11.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.4359, allocations: 0 / 0.5228 GB, free: 11.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4359, allocations: 0 / 0.5228 GB, free: 11.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.4359, allocations: 3.438 kB / 0.5228 GB, free: 11.36 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001463/0.4374, allocations: 1.128 MB / 0.5239 GB, free: 10.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.4374, allocations: 8.406 kB / 0.5239 GB, free: 10.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005082/0.4379, allocations: 217.8 kB / 0.5241 GB, free: 10.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004968/0.4384, allocations: 486 kB / 0.5246 GB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.74e-05/0.4385, allocations: 157.9 kB / 0.5247 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.999e-05/0.4386, allocations: 52.28 kB / 0.5248 GB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006066/0.4392, allocations: 0.9444 MB / 0.5257 GB, free: 9.199 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.4392, allocations: 0 / 0.5257 GB, free: 9.199 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.339e-05/0.4393, allocations: 24 kB / 0.5257 GB, free: 9.184 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.741e-05/0.4393, allocations: 40.56 kB / 0.5258 GB, free: 9.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003102/0.4396, allocations: 260.3 kB / 0.526 GB, free: 9.141 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002107/0.4417, allocations: 3.765 MB / 0.5297 GB, free: 5.887 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.442, allocations: 194 kB / 0.5299 GB, free: 5.816 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.069e-05/0.4421, allocations: 83.22 kB / 0.5299 GB, free: 5.789 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.074e-05/0.4421, allocations: 25.14 kB / 0.53 GB, free: 5.785 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.4421, allocations: 44.14 kB / 0.53 GB, free: 5.734 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.713e-06/0.4422, allocations: 4 kB / 0.53 GB, free: 5.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002356/0.4445, allocations: 0.9962 MB / 0.531 GB, free: 5.238 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.4446, allocations: 133.7 kB / 0.5311 GB, free: 5.082 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/0.4449, allocations: 0.5459 MB / 0.5316 GB, free: 4.773 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.4449, allocations: 36.8 kB / 0.5317 GB, free: 4.734 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.4451, allocations: 444.6 kB / 0.5321 GB, free: 4.359 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.109e-05/0.4452, allocations: 146.7 kB / 0.5322 GB, free: 4.246 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.4454, allocations: 169.9 kB / 0.5324 GB, free: 4.156 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.4455, allocations: 0.5503 MB / 0.5329 GB, free: 3.629 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.4456, allocations: 73.2 kB / 0.533 GB, free: 3.625 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002895/0.4459, allocations: 0.6361 MB / 0.5336 GB, free: 2.879 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004572/0.4464, allocations: 0.6669 MB / 0.5343 GB, free: 2.188 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.4464, allocations: 9.75 kB / 0.5343 GB, free: 2.184 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.000669/0.447, allocations: 0.6213 MB / 0.5349 GB, free: 1.945 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.447, allocations: 10.97 kB / 0.5349 GB, free: 1.945 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.4471, allocations: 11.72 kB / 0.5349 GB, free: 1.945 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006074/0.4477, allocations: 255.8 kB / 0.5352 GB, free: 1.898 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.4479, allocations: 122.4 kB / 0.5353 GB, free: 1.887 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004666/0.4483, allocations: 0.9851 MB / 0.5362 GB, free: 1.039 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.4485, allocations: 26.16 kB / 0.5363 GB, free: 1.027 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.091e-05/0.4486, allocations: 53.3 kB / 0.5363 GB, free: 1.023 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0001366/0.4487, allocations: 212.7 kB / 0.5365 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.917e-05/0.4488, allocations: 80.86 kB / 0.5366 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007437/0.4496, allocations: 0.6651 MB / 0.5373 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.4496, allocations: 5.844 kB / 0.5373 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4496, allocations: 0 / 0.5373 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.4496, allocations: 0 / 0.5373 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008372/0.4504, allocations: 0.8353 MB / 0.5381 GB, free: 32 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.4504, allocations: 192 / 0.5381 GB, free: 32 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004518/0.4509, allocations: 178.2 kB / 0.5382 GB, free: 20 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.982e-05/0.4509, allocations: 23.66 kB / 0.5383 GB, free: 8 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.451, allocations: 17.78 kB / 0.5383 GB, free: 0 / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001633/0.4526, allocations: 3.514 MB / 0.5417 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4526, allocations: 0 / 0.5417 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000553/0.4532, allocations: 0.5714 MB / 0.5423 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.4533, allocations: 95.25 kB / 0.5424 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.294e-05/0.4533, allocations: 6.625 kB / 0.5424 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.4535, allocations: 14.23 kB / 0.5424 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.038e-05/0.4536, allocations: 47.06 kB / 0.5424 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.401e-05/0.4536, allocations: 29.64 kB / 0.5425 GB, free: 11.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002038/0.4538, allocations: 330 kB / 0.5428 GB, free: 11.81 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4538, allocations: 0 / 0.5428 GB, free: 11.81 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005356/0.4543, allocations: 248.7 kB / 0.543 GB, free: 11.78 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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 {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000426/0.4548, allocations: 268.4 kB / 0.5433 GB, free: 11.63 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004882/0.4553, allocations: 364.2 kB / 0.5436 GB, free: 11.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.4553, allocations: 2.75 kB / 0.5436 GB, free: 11.54 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004338/0.4557, allocations: 362.7 kB / 0.544 GB, free: 11.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007634/0.4565, allocations: 315.5 kB / 0.5443 GB, free: 11.26 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.4581, allocations: 1.16 MB / 0.5454 GB, free: 10.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.4582, allocations: 166.9 kB / 0.5456 GB, free: 10.45 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000527/0.4587, allocations: 364.3 kB / 0.5459 GB, free: 10.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005515/0.4593, allocations: 379.2 kB / 0.5463 GB, free: 10.27 MB / 426.7 MB Notification: Performance of SimCode: time 1.222e-06/0.4593, allocations: 4 kB / 0.5463 GB, free: 10.27 MB / 426.7 MB Notification: Performance of Templates: time 0.0213/0.4806, allocations: 16.58 MB / 0.5625 GB, free: 11.45 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.280822403728962]