Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001264/0.001264, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001273/0.001273, allocations: 161.4 kB / 24.56 MB, free: 20 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.057/1.057, allocations: 177.2 MB / 205 MB, free: 5.277 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.2751/0.2751, allocations: 34.26 MB / 295.7 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] 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.SimpleNaturalGasFixedComposition,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.SimpleNaturalGasFixedComposition") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,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.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.815e-06/2.815e-06, allocations: 4 kB / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.834e-05/3.116e-05, allocations: 2.312 kB / 378.1 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3266/0.3266, allocations: 149.2 MB / 0.5149 GB, free: 15.87 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00411/0.3307, allocations: 3.057 MB / 0.5179 GB, free: 13.84 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004388/0.3312, allocations: 32.44 kB / 0.5179 GB, free: 13.82 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006991/0.3319, allocations: 239 kB / 0.5181 GB, free: 13.7 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002784/0.3346, allocations: 1.538 MB / 0.5196 GB, free: 12.87 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.3361, allocations: 0.9461 MB / 0.5206 GB, free: 12.39 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001716/0.3379, allocations: 2.222 MB / 0.5227 GB, free: 11.38 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00063/0.3385, allocations: 0.5145 MB / 0.5232 GB, free: 11.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001797/0.3403, allocations: 1.473 MB / 0.5247 GB, free: 10.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002116/0.3424, allocations: 1.506 MB / 0.5261 GB, free: 9.988 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001952/0.3426, allocations: 74.59 kB / 0.5262 GB, free: 9.988 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.3437, allocations: 0.6681 MB / 0.5269 GB, free: 9.781 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003049/0.344, allocations: 484 kB / 0.5273 GB, free: 9.566 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003558/0.3444, allocations: 413.4 kB / 0.5277 GB, free: 9.426 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.346, allocations: 1.472 MB / 0.5292 GB, free: 8.871 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.346, allocations: 4 kB / 0.5292 GB, free: 8.867 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.346, allocations: 0 / 0.5292 GB, free: 8.867 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.101e-05/0.346, allocations: 0 / 0.5292 GB, free: 8.867 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.001879/0.3479, allocations: 1.477 MB / 0.5306 GB, free: 7.953 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.3479, allocations: 10.97 kB / 0.5306 GB, free: 7.953 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008885/0.3488, allocations: 408 kB / 0.531 GB, free: 7.812 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006797/0.3495, allocations: 0.5806 MB / 0.5316 GB, free: 7.461 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.999e-05/0.3496, allocations: 166.2 kB / 0.5317 GB, free: 7.309 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.3497, allocations: 74.41 kB / 0.5318 GB, free: 7.289 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.3507, allocations: 1.574 MB / 0.5333 GB, free: 5.918 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.3507, allocations: 6.891 kB / 0.5333 GB, free: 5.914 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.948e-05/0.3508, allocations: 35.42 kB / 0.5334 GB, free: 5.891 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.557e-05/0.3509, allocations: 79.36 kB / 0.5335 GB, free: 5.879 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006355/0.3515, allocations: 429.6 kB / 0.5339 GB, free: 5.801 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.003227/0.3547, allocations: 4.319 MB / 0.5381 GB, free: 2.473 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.355, allocations: 187.7 kB / 0.5383 GB, free: 2.391 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.902e-05/0.3551, allocations: 71.69 kB / 0.5383 GB, free: 2.367 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.877e-05/0.3551, allocations: 27.36 kB / 0.5384 GB, free: 2.359 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.3552, allocations: 40.66 kB / 0.5384 GB, free: 2.312 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.212e-06/0.3552, allocations: 0 / 0.5384 GB, free: 2.312 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.003102/0.3583, allocations: 1.398 MB / 0.5398 GB, free: 1.555 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.3583, allocations: 137.7 kB / 0.5399 GB, free: 1.395 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005639/0.3589, allocations: 0.8071 MB / 0.5407 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.3589, allocations: 32.67 kB / 0.5407 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.3591, allocations: 0.6507 MB / 0.5413 GB, free: 400 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.645e-05/0.3591, allocations: 143.5 kB / 0.5415 GB, free: 276 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/0.3593, allocations: 226.8 kB / 0.5417 GB, free: 136 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.3595, allocations: 0.5787 MB / 0.5423 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.3597, allocations: 119.3 kB / 0.5424 GB, free: 15.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005724/0.3602, allocations: 1.044 MB / 0.5434 GB, free: 14.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.3613, allocations: 1.149 MB / 0.5445 GB, free: 12.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.3613, allocations: 5.438 kB / 0.5445 GB, free: 12.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001057/0.3624, allocations: 0.9303 MB / 0.5454 GB, free: 12.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.3624, allocations: 16.16 kB / 0.5455 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.3624, allocations: 19.94 kB / 0.5455 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006318/0.363, allocations: 248 kB / 0.5457 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003219/0.3634, allocations: 206 kB / 0.5459 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006336/0.364, allocations: 1.009 MB / 0.5469 GB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003481/0.3643, allocations: 42.03 kB / 0.5469 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-05/0.3644, allocations: 65.16 kB / 0.547 GB, free: 11.42 MB / 426.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.0001971/0.3646, allocations: 242 kB / 0.5472 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.205e-05/0.3647, allocations: 93.64 kB / 0.5473 GB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005153/0.3652, allocations: 396.9 kB / 0.5477 GB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3652, allocations: 3.031 kB / 0.5477 GB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3652, allocations: 0 / 0.5477 GB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3652, allocations: 6.406 kB / 0.5477 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009807/0.3662, allocations: 0.8967 MB / 0.5486 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.3662, allocations: 0 / 0.5486 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000495/0.3667, allocations: 167.9 kB / 0.5487 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-05/0.3668, allocations: 31.64 kB / 0.5488 GB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.3668, allocations: 11.98 kB / 0.5488 GB, free: 9.996 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001711/0.3685, allocations: 3.556 MB / 0.5522 GB, free: 6.199 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3685, allocations: 0 / 0.5522 GB, free: 6.199 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000577/0.3691, allocations: 0.5127 MB / 0.5527 GB, free: 5.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/0.3692, allocations: 107.4 kB / 0.5529 GB, free: 5.555 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.495e-05/0.3693, allocations: 11.98 kB / 0.5529 GB, free: 5.543 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.3695, allocations: 15.19 kB / 0.5529 GB, free: 5.531 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.484e-05/0.3696, allocations: 23.95 kB / 0.5529 GB, free: 5.508 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003851/0.3699, allocations: 28.08 kB / 0.5529 GB, free: 5.48 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003877/0.3703, allocations: 458.8 kB / 0.5534 GB, free: 5.035 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3703, allocations: 0 / 0.5534 GB, free: 5.035 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000911/0.3712, allocations: 351.6 kB / 0.5537 GB, free: 4.691 MB / 426.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.0008721/0.3721, allocations: 494.5 kB / 0.5542 GB, free: 4.199 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007063/0.3728, allocations: 0.4968 MB / 0.5547 GB, free: 3.703 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3728, allocations: 0 / 0.5547 GB, free: 3.703 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004719/0.3733, allocations: 358.8 kB / 0.555 GB, free: 3.328 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008499/0.3741, allocations: 348.5 kB / 0.5553 GB, free: 3.004 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/0.3761, allocations: 1.365 MB / 0.5567 GB, free: 1.602 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.3762, allocations: 211.2 kB / 0.5569 GB, free: 1.375 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005212/0.3767, allocations: 338.8 kB / 0.5572 GB, free: 1.039 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.3769, allocations: 72.48 kB / 0.5573 GB, free: 0.9688 MB / 426.7 MB Notification: Performance of SimCode: time 7.12e-07/0.3769, allocations: 0 / 0.5573 GB, free: 0.9688 MB / 426.7 MB Notification: Performance of Templates: time 0.02057/0.3974, allocations: 17.78 MB / 0.5746 GB, free: 15.5 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.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.094525475986302]