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.001712/0.001712, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.002157/0.002157, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 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.568/1.568, allocations: 230.6 MB / 258.2 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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.2385/0.2385, allocations: 46.97 MB / 361.6 MB, free: 4.047 MB / 286.1 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 0.002074/0.002074, allocations: 67.91 kB / 0.4973 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3221, allocations: 66.03 MB / 0.5618 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.227/0.5491, allocations: 156.5 MB / 0.7147 GB, free: 7.086 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009135/0.5582, allocations: 5.974 MB / 0.7205 GB, free: 1.09 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00051/0.5587, allocations: 27.75 kB / 0.7205 GB, free: 1.062 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001106/0.5599, allocations: 397.7 kB / 0.7209 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00546/0.5653, allocations: 1.792 MB / 0.7227 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005196/0.5705, allocations: 1.511 MB / 0.7241 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003567/0.5741, allocations: 2.13 MB / 0.7262 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008444/0.5749, allocations: 493.3 kB / 0.7267 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004862/0.5798, allocations: 1.795 MB / 0.7284 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003885/0.5837, allocations: 1.538 MB / 0.7299 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002956/0.584, allocations: 76 kB / 0.73 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003497/0.5875, allocations: 1.149 MB / 0.7311 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00073/0.5882, allocations: 450.7 kB / 0.7316 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009001/0.5891, allocations: 478.2 kB / 0.732 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004377/0.5935, allocations: 2.072 MB / 0.734 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.5935, allocations: 0 / 0.734 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.325e-06/0.5935, allocations: 4 kB / 0.734 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.388e-05/0.5935, allocations: 0 / 0.734 GB, free: 3.191 MB / 0.5606 GB 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.003462/0.597, allocations: 1.403 MB / 0.7354 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.597, allocations: 8.031 kB / 0.7354 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001585/0.5986, allocations: 287.1 kB / 0.7357 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.6, allocations: 0.5829 MB / 0.7363 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001878/0.6002, allocations: 168.1 kB / 0.7364 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.6003, allocations: 67.92 kB / 0.7365 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2469/0.8472, allocations: 1.962 MB / 0.7384 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/0.8472, allocations: 1.219 kB / 0.7384 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001664/0.8474, allocations: 35.44 kB / 0.7384 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001701/0.8476, allocations: 84.62 kB / 0.7385 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002112/0.8497, allocations: 1.05 MB / 0.7395 GB, free: 174.3 MB / 0.5606 GB 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.005989/0.8557, allocations: 3.857 MB / 0.7433 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004984/0.8562, allocations: 303.2 kB / 0.7436 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001904/0.8563, allocations: 136.5 kB / 0.7437 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.638e-05/0.8564, allocations: 22.55 kB / 0.7438 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.8564, allocations: 42.38 kB / 0.7438 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=28): time 3.226e-06/0.8564, allocations: 0 / 0.7438 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.006514/0.863, allocations: 1.74 MB / 0.7455 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.863, allocations: 132.5 kB / 0.7456 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008562/0.8639, allocations: 0.8427 MB / 0.7464 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.368e-05/0.8639, allocations: 33.7 kB / 0.7465 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000261/0.8642, allocations: 0.589 MB / 0.747 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.845e-05/0.8642, allocations: 138.7 kB / 0.7472 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002404/0.8645, allocations: 222.8 kB / 0.7474 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.801e-05/0.8646, allocations: 394.7 kB / 0.7478 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004182/0.865, allocations: 278.4 kB / 0.748 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005832/0.8656, allocations: 0.9428 MB / 0.749 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.8666, allocations: 1.175 MB / 0.7501 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-06/0.8666, allocations: 8 kB / 0.7501 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001708/0.8683, allocations: 1.221 MB / 0.7513 GB, free: 164 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.8683, allocations: 12 kB / 0.7513 GB, free: 164 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/0.8684, allocations: 20 kB / 0.7513 GB, free: 164 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001278/0.8696, allocations: 299.9 kB / 0.7516 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005202/0.8702, allocations: 199.7 kB / 0.7518 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008617/0.871, allocations: 0.9191 MB / 0.7527 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007779/0.8718, allocations: 41.09 kB / 0.7527 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.611e-05/0.8719, allocations: 71.98 kB / 0.7528 GB, free: 162.4 MB / 0.5606 GB 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.000366/0.8722, allocations: 348.7 kB / 0.7531 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.8724, allocations: 83.48 kB / 0.7532 GB, free: 162 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008604/0.8733, allocations: 0.5087 MB / 0.7537 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.8733, allocations: 4 kB / 0.7537 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.8733, allocations: 0 / 0.7537 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.8733, allocations: 0 / 0.7537 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001449/0.8747, allocations: 0.9691 MB / 0.7547 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.8747, allocations: 0 / 0.7547 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009346/0.8757, allocations: 191.4 kB / 0.7549 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-05/0.8757, allocations: 20.84 kB / 0.7549 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/0.8758, allocations: 8 kB / 0.7549 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/0.8771, allocations: 2.631 MB / 0.7575 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.8771, allocations: 3.891 kB / 0.7575 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008928/0.878, allocations: 0.6858 MB / 0.7581 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002853/0.8783, allocations: 111.5 kB / 0.7582 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.8784, allocations: 11.95 kB / 0.7582 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003953/0.8788, allocations: 15.98 kB / 0.7583 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.8789, allocations: 35.83 kB / 0.7583 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.263e-05/0.8789, allocations: 15.98 kB / 0.7583 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005347/0.8794, allocations: 0.5263 MB / 0.7588 GB, free: 156 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.8794, allocations: 0 / 0.7588 GB, free: 156 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001245/0.8807, allocations: 383.5 kB / 0.7592 GB, free: 155.7 MB / 0.5606 GB 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.001411/0.8821, allocations: 0.6243 MB / 0.7598 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001202/0.8833, allocations: 0.6499 MB / 0.7604 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.8833, allocations: 0 / 0.7604 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007881/0.8841, allocations: 359.6 kB / 0.7608 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/0.8856, allocations: 339.4 kB / 0.7611 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.8879, allocations: 1.679 MB / 0.7627 GB, free: 152 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.8882, allocations: 429.4 kB / 0.7631 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/0.8884, allocations: 87.42 kB / 0.7632 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of SimCode: time 7.62e-07/0.8884, allocations: 0 / 0.7632 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.02472/0.9131, allocations: 22.09 MB / 0.7848 GB, free: 129.5 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 12.276740850880742]