Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001828/0.001828, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.001965/0.001965, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 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.55/1.55, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3589/0.3589, allocations: 32.8 MB / 293.9 MB, free: 1.191 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.661e-05/3.828e-05, allocations: 5.406 kB / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3874/0.3875, allocations: 170.8 MB / 0.5333 GB, free: 2.785 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006634/0.3941, allocations: 5.405 MB / 0.5386 GB, free: 15.15 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005932/0.3947, allocations: 27.19 kB / 0.5386 GB, free: 15.14 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009826/0.3957, allocations: 312.7 kB / 0.5389 GB, free: 14.96 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003342/0.399, allocations: 1.316 MB / 0.5402 GB, free: 14.25 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002574/0.4016, allocations: 1.009 MB / 0.5412 GB, free: 13.74 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002422/0.404, allocations: 1.89 MB / 0.543 GB, free: 12.87 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008528/0.4049, allocations: 414.3 kB / 0.5434 GB, free: 12.62 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002606/0.4075, allocations: 1.352 MB / 0.5447 GB, free: 12.04 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001042/0.4085, allocations: 0.6401 MB / 0.5454 GB, free: 11.84 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001277/0.4087, allocations: 62.81 kB / 0.5454 GB, free: 11.84 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/0.41, allocations: 0.5508 MB / 0.5459 GB, free: 11.6 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003368/0.4103, allocations: 289.1 kB / 0.5462 GB, free: 11.4 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004147/0.4107, allocations: 286.5 kB / 0.5465 GB, free: 11.27 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002499/0.4132, allocations: 1.39 MB / 0.5479 GB, free: 10.38 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4132, allocations: 4 kB / 0.5479 GB, free: 10.38 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4132, allocations: 0 / 0.5479 GB, free: 10.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.676e-05/0.4133, allocations: 3.438 kB / 0.5479 GB, free: 10.38 MB / 426.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.003221/0.4165, allocations: 1.195 MB / 0.549 GB, free: 9.457 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.4165, allocations: 8.969 kB / 0.549 GB, free: 9.457 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.4175, allocations: 217.2 kB / 0.5492 GB, free: 9.348 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.4186, allocations: 0.4906 MB / 0.5497 GB, free: 8.984 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001663/0.4187, allocations: 153.5 kB / 0.5499 GB, free: 8.832 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.4188, allocations: 59.92 kB / 0.5499 GB, free: 8.812 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/0.4203, allocations: 1.118 MB / 0.551 GB, free: 7.777 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.4203, allocations: 6.812 kB / 0.551 GB, free: 7.773 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.071e-05/0.4204, allocations: 25.89 kB / 0.5511 GB, free: 7.754 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.464e-05/0.4205, allocations: 40.52 kB / 0.5511 GB, free: 7.746 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008921/0.4214, allocations: 462.7 kB / 0.5515 GB, free: 7.547 MB / 426.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.005424/0.4268, allocations: 4.144 MB / 0.5556 GB, free: 3.879 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005615/0.4274, allocations: 300.9 kB / 0.5559 GB, free: 3.719 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002512/0.4276, allocations: 135.4 kB / 0.556 GB, free: 3.652 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.847e-05/0.4277, allocations: 15.8 kB / 0.556 GB, free: 3.648 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.4277, allocations: 43.3 kB / 0.5561 GB, free: 3.602 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 1.813e-06/0.4277, allocations: 0 / 0.5561 GB, free: 3.602 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.005738/0.4335, allocations: 1.387 MB / 0.5574 GB, free: 2.234 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.4336, allocations: 132.5 kB / 0.5575 GB, free: 2.074 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008875/0.4345, allocations: 0.6585 MB / 0.5582 GB, free: 1.398 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.728e-05/0.4345, allocations: 37.7 kB / 0.5582 GB, free: 1.355 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004246/0.435, allocations: 459 kB / 0.5586 GB, free: 0.8984 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001828/0.4352, allocations: 162.7 kB / 0.5588 GB, free: 0.7383 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003046/0.4355, allocations: 176.2 kB / 0.559 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004141/0.4359, allocations: 0.582 MB / 0.5595 GB, free: 15.96 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003431/0.4362, allocations: 141.9 kB / 0.5597 GB, free: 15.82 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008801/0.4371, allocations: 0.6855 MB / 0.5603 GB, free: 14.92 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.4383, allocations: 0.7871 MB / 0.5611 GB, free: 13.95 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.4383, allocations: 4 kB / 0.5611 GB, free: 13.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00178/0.4401, allocations: 0.7893 MB / 0.5619 GB, free: 13.14 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.4401, allocations: 8 kB / 0.5619 GB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.4401, allocations: 12 kB / 0.5619 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001439/0.4416, allocations: 283.5 kB / 0.5622 GB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004243/0.442, allocations: 123.8 kB / 0.5623 GB, free: 12.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.4434, allocations: 1.129 MB / 0.5634 GB, free: 11.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004609/0.4438, allocations: 24 kB / 0.5634 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.4439, allocations: 64.02 kB / 0.5635 GB, free: 11.47 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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.0003712/0.4443, allocations: 252.3 kB / 0.5637 GB, free: 11.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.4445, allocations: 71.62 kB / 0.5638 GB, free: 11.14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001736/0.4462, allocations: 0.7965 MB / 0.5646 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.4462, allocations: 4 kB / 0.5646 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4462, allocations: 0 / 0.5646 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.4462, allocations: 3.984 kB / 0.5646 GB, free: 10.33 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002288/0.4485, allocations: 1.149 MB / 0.5657 GB, free: 9.109 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.4485, allocations: 4.031 kB / 0.5657 GB, free: 9.105 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/0.4496, allocations: 195.8 kB / 0.5659 GB, free: 8.914 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001173/0.4497, allocations: 27.67 kB / 0.5659 GB, free: 8.883 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.917e-05/0.4498, allocations: 19.98 kB / 0.5659 GB, free: 8.863 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003334/0.4531, allocations: 3.645 MB / 0.5695 GB, free: 4.98 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.4531, allocations: 0 / 0.5695 GB, free: 4.98 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/0.4544, allocations: 0.7754 MB / 0.5703 GB, free: 4.156 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002986/0.4547, allocations: 99.56 kB / 0.5703 GB, free: 4.059 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.118e-05/0.4548, allocations: 17.08 kB / 0.5704 GB, free: 4.043 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003514/0.4552, allocations: 15.94 kB / 0.5704 GB, free: 4.027 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.4553, allocations: 43.88 kB / 0.5704 GB, free: 3.984 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-05/0.4554, allocations: 35.98 kB / 0.5705 GB, free: 3.949 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005153/0.4559, allocations: 402.8 kB / 0.5708 GB, free: 3.559 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4559, allocations: 0 / 0.5708 GB, free: 3.559 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001019/0.4569, allocations: 259.7 kB / 0.5711 GB, free: 3.305 MB / 442.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.0007405/0.4576, allocations: 291.7 kB / 0.5714 GB, free: 3.012 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001177/0.4588, allocations: 498.5 kB / 0.5718 GB, free: 2.523 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4588, allocations: 0 / 0.5718 GB, free: 2.523 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.4599, allocations: 437.9 kB / 0.5723 GB, free: 2.074 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/0.4614, allocations: 326.1 kB / 0.5726 GB, free: 1.781 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.4639, allocations: 1.201 MB / 0.5737 GB, free: 0.5234 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.4643, allocations: 328.3 kB / 0.5741 GB, free: 180 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009918/0.4652, allocations: 414.3 kB / 0.5744 GB, free: 15.77 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002897/0.4655, allocations: 100.5 kB / 0.5745 GB, free: 15.67 MB / 458.7 MB Notification: Performance of SimCode: time 1.342e-06/0.4655, allocations: 0 / 0.5745 GB, free: 15.67 MB / 458.7 MB Notification: Performance of Templates: time 0.03074/0.4963, allocations: 15.45 MB / 0.5896 GB, free: 476 kB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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: 5.949622568092309]