Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.001522/0.001522, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001571/0.001571, allocations: 165.3 kB / 24.27 MB, free: 144 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.504/1.504, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.3499/0.3499, allocations: 32.8 MB / 293.9 MB, free: 1.238 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.SimpleNaturalGasFixedComposition,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.SimpleNaturalGasFixedComposition") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,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.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.112e-05/3.256e-05, allocations: 5.547 kB / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3608/0.3609, allocations: 156.5 MB / 0.5193 GB, free: 10.56 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008955/0.3698, allocations: 5.977 MB / 0.5251 GB, free: 6.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009119/0.3707, allocations: 31 kB / 0.5251 GB, free: 6.551 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.3719, allocations: 396.6 kB / 0.5255 GB, free: 6.348 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004231/0.3761, allocations: 1.818 MB / 0.5273 GB, free: 5.395 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003792/0.3799, allocations: 1.547 MB / 0.5288 GB, free: 4.641 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002593/0.3825, allocations: 2.155 MB / 0.5309 GB, free: 3.676 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007623/0.3833, allocations: 0.5114 MB / 0.5314 GB, free: 3.359 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003971/0.3873, allocations: 2.046 MB / 0.5334 GB, free: 2.539 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003254/0.3905, allocations: 1.49 MB / 0.5349 GB, free: 2.074 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000289/0.3908, allocations: 73.88 kB / 0.5349 GB, free: 2.074 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002749/0.3936, allocations: 1.167 MB / 0.5361 GB, free: 1.574 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004566/0.394, allocations: 477.1 kB / 0.5365 GB, free: 1.266 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005854/0.3946, allocations: 413.5 kB / 0.5369 GB, free: 1.082 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003087/0.3977, allocations: 2.207 MB / 0.5391 GB, free: 15.73 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3977, allocations: 0 / 0.5391 GB, free: 15.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3977, allocations: 3.938 kB / 0.5391 GB, free: 15.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.819e-05/0.3977, allocations: 0 / 0.5391 GB, free: 15.73 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003739/0.4015, allocations: 1.392 MB / 0.5404 GB, free: 14.74 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.4015, allocations: 10.44 kB / 0.5404 GB, free: 14.74 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00177/0.4033, allocations: 417.5 kB / 0.5408 GB, free: 14.53 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001396/0.4047, allocations: 0.5957 MB / 0.5414 GB, free: 14.11 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002612/0.4049, allocations: 169.1 kB / 0.5416 GB, free: 13.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002113/0.4051, allocations: 81.69 kB / 0.5417 GB, free: 13.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002706/0.4078, allocations: 1.968 MB / 0.5436 GB, free: 12.25 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.4079, allocations: 3.125 kB / 0.5436 GB, free: 12.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.408, allocations: 34.02 kB / 0.5436 GB, free: 12.22 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001086/0.4081, allocations: 81.8 kB / 0.5437 GB, free: 12.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001796/0.4099, allocations: 1.05 MB / 0.5447 GB, free: 11.67 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.007538/0.4174, allocations: 3.882 MB / 0.5485 GB, free: 8.668 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006485/0.4181, allocations: 293.5 kB / 0.5488 GB, free: 8.383 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002877/0.4184, allocations: 140.7 kB / 0.5489 GB, free: 8.242 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.146e-05/0.4185, allocations: 23.98 kB / 0.549 GB, free: 8.219 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.977e-05/0.4185, allocations: 38.56 kB / 0.549 GB, free: 8.172 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 2.755e-06/0.4185, allocations: 0 / 0.549 GB, free: 8.172 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.007267/0.4258, allocations: 1.771 MB / 0.5507 GB, free: 6.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.4259, allocations: 132.5 kB / 0.5508 GB, free: 6.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.4271, allocations: 0.8283 MB / 0.5517 GB, free: 5.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.479e-05/0.4272, allocations: 37.7 kB / 0.5517 GB, free: 5.297 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005664/0.4278, allocations: 0.5922 MB / 0.5523 GB, free: 4.695 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/0.4279, allocations: 138.9 kB / 0.5524 GB, free: 4.559 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003609/0.4283, allocations: 210.8 kB / 0.5526 GB, free: 4.348 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002688/0.4285, allocations: 390.7 kB / 0.553 GB, free: 3.957 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005267/0.4291, allocations: 278.5 kB / 0.5532 GB, free: 3.688 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001296/0.4304, allocations: 0.9353 MB / 0.5542 GB, free: 2.441 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001759/0.4321, allocations: 1.184 MB / 0.5553 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.316e-05/0.4321, allocations: 12 kB / 0.5553 GB, free: 0.9688 MB / 426.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002501/0.4346, allocations: 1.267 MB / 0.5566 GB, free: 15.69 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.4347, allocations: 16.62 kB / 0.5566 GB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.3e-05/0.4347, allocations: 20.88 kB / 0.5566 GB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001462/0.4362, allocations: 295.5 kB / 0.5569 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000632/0.4368, allocations: 203.6 kB / 0.5571 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.4382, allocations: 0.9191 MB / 0.558 GB, free: 14.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008031/0.439, allocations: 43.98 kB / 0.558 GB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.4391, allocations: 68 kB / 0.5581 GB, free: 14.11 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * 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 (112): * Single equations (assignments): 111 * 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.0005535/0.4396, allocations: 337.2 kB / 0.5584 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/0.4398, allocations: 101 kB / 0.5585 GB, free: 13.67 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/0.441, allocations: 0.5069 MB / 0.559 GB, free: 13.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.441, allocations: 4 kB / 0.559 GB, free: 13.16 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.441, allocations: 0 / 0.559 GB, free: 13.16 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.441, allocations: 7.984 kB / 0.559 GB, free: 13.15 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001987/0.443, allocations: 0.9724 MB / 0.5599 GB, free: 12.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.443, allocations: 0 / 0.5599 GB, free: 12.13 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/0.4441, allocations: 183.8 kB / 0.5601 GB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001176/0.4442, allocations: 28.86 kB / 0.5602 GB, free: 11.92 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/0.4442, allocations: 8 kB / 0.5602 GB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002598/0.4468, allocations: 2.627 MB / 0.5627 GB, free: 9.094 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.4468, allocations: 3.938 kB / 0.5627 GB, free: 9.09 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.4481, allocations: 0.7015 MB / 0.5634 GB, free: 8.367 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003067/0.4484, allocations: 107.5 kB / 0.5635 GB, free: 8.262 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.4486, allocations: 8 kB / 0.5635 GB, free: 8.254 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004309/0.449, allocations: 15.98 kB / 0.5635 GB, free: 8.238 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.24e-05/0.4491, allocations: 27.89 kB / 0.5636 GB, free: 8.211 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-05/0.4491, allocations: 27.92 kB / 0.5636 GB, free: 8.184 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008259/0.45, allocations: 0.5224 MB / 0.5641 GB, free: 7.664 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.45, allocations: 0 / 0.5641 GB, free: 7.664 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001517/0.4515, allocations: 383.6 kB / 0.5645 GB, free: 7.289 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (33): * Single equations (assignments): 31 * 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.001814/0.4533, allocations: 0.6471 MB / 0.5651 GB, free: 6.637 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001607/0.4549, allocations: 0.6552 MB / 0.5657 GB, free: 5.984 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.4549, allocations: 4 kB / 0.5657 GB, free: 5.98 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.4559, allocations: 366.6 kB / 0.5661 GB, free: 5.609 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001723/0.4577, allocations: 369.5 kB / 0.5664 GB, free: 5.273 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003163/0.4608, allocations: 1.525 MB / 0.5679 GB, free: 3.711 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005582/0.4614, allocations: 437.4 kB / 0.5684 GB, free: 3.258 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001047/0.4624, allocations: 366.9 kB / 0.5687 GB, free: 2.898 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/0.4626, allocations: 76.48 kB / 0.5688 GB, free: 2.824 MB / 442.7 MB Notification: Performance of SimCode: time 1.142e-06/0.4626, allocations: 0 / 0.5688 GB, free: 2.824 MB / 442.7 MB Notification: Performance of Templates: time 0.05357/0.5162, allocations: 19.4 MB / 0.5877 GB, free: 15.75 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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: 6.113935621920973]