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.001445/0.001445, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002064/0.002064, allocations: 161.7 kB / 24.27 MB, free: 172 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.505/1.505, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 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.3371/0.3371, allocations: 34.26 MB / 295.3 MB, free: 0.6836 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 1.613e-06/1.613e-06, allocations: 0 / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.533e-05, allocations: 9.406 kB / 377.3 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.359/0.359, allocations: 156.4 MB / 0.5212 GB, free: 8.535 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006536/0.3655, allocations: 5.983 MB / 0.5271 GB, free: 4.539 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006067/0.3661, allocations: 26.38 kB / 0.5271 GB, free: 4.523 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.3672, allocations: 387.2 kB / 0.5275 GB, free: 4.328 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003511/0.3707, allocations: 1.832 MB / 0.5293 GB, free: 3.363 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003169/0.3738, allocations: 1.544 MB / 0.5308 GB, free: 2.609 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001905/0.3757, allocations: 2.156 MB / 0.5329 GB, free: 1.648 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005462/0.3763, allocations: 0.4983 MB / 0.5334 GB, free: 1.344 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003016/0.3793, allocations: 2.053 MB / 0.5354 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002273/0.3816, allocations: 1.487 MB / 0.5368 GB, free: 15.85 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001822/0.3818, allocations: 77.53 kB / 0.5369 GB, free: 15.85 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002588/0.3843, allocations: 1.162 MB / 0.538 GB, free: 15.25 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005759/0.3849, allocations: 480.8 kB / 0.5385 GB, free: 14.94 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005893/0.3855, allocations: 418.6 kB / 0.5389 GB, free: 14.75 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003467/0.389, allocations: 2.202 MB / 0.541 GB, free: 13.41 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.389, allocations: 0 / 0.541 GB, free: 13.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.389, allocations: 0 / 0.541 GB, free: 13.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.615e-05/0.389, allocations: 0 / 0.541 GB, free: 13.41 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.003484/0.3925, allocations: 1.399 MB / 0.5424 GB, free: 12.42 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.3925, allocations: 8.156 kB / 0.5424 GB, free: 12.42 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001735/0.3943, allocations: 423.7 kB / 0.5428 GB, free: 12.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/0.3956, allocations: 0.5893 MB / 0.5434 GB, free: 11.79 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002266/0.3959, allocations: 169.4 kB / 0.5436 GB, free: 11.63 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/0.396, allocations: 81.45 kB / 0.5436 GB, free: 11.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002846/0.3989, allocations: 1.968 MB / 0.5456 GB, free: 9.922 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.16e-05/0.3989, allocations: 10.61 kB / 0.5456 GB, free: 9.914 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.399, allocations: 38.61 kB / 0.5456 GB, free: 9.887 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001136/0.3992, allocations: 81.08 kB / 0.5457 GB, free: 9.863 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/0.401, allocations: 1.048 MB / 0.5467 GB, free: 9.34 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.007417/0.4084, allocations: 3.872 MB / 0.5505 GB, free: 5.559 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006023/0.409, allocations: 299.2 kB / 0.5508 GB, free: 5.258 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002642/0.4092, allocations: 136.7 kB / 0.5509 GB, free: 5.121 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.538e-05/0.4093, allocations: 23.98 kB / 0.5509 GB, free: 5.098 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/0.4094, allocations: 38.56 kB / 0.551 GB, free: 5.051 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 2.735e-06/0.4094, allocations: 0 / 0.551 GB, free: 5.051 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.007069/0.4164, allocations: 1.771 MB / 0.5527 GB, free: 3.219 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.4166, allocations: 132.5 kB / 0.5528 GB, free: 3.059 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.4178, allocations: 0.8322 MB / 0.5536 GB, free: 2.215 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.963e-05/0.4178, allocations: 29.7 kB / 0.5537 GB, free: 2.18 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005428/0.4184, allocations: 0.5922 MB / 0.5542 GB, free: 1.578 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.4185, allocations: 138.9 kB / 0.5544 GB, free: 1.441 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003444/0.4189, allocations: 218.8 kB / 0.5546 GB, free: 1.223 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002621/0.4191, allocations: 394.7 kB / 0.555 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000494/0.4196, allocations: 274.4 kB / 0.5552 GB, free: 0.5625 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/0.4208, allocations: 0.9392 MB / 0.5561 GB, free: 15.32 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001657/0.4224, allocations: 1.183 MB / 0.5573 GB, free: 13.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/0.4224, allocations: 8 kB / 0.5573 GB, free: 13.85 MB / 442.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002316/0.4248, allocations: 1.272 MB / 0.5585 GB, free: 12.57 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.4248, allocations: 16 kB / 0.5586 GB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.782e-05/0.4248, allocations: 20 kB / 0.5586 GB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001333/0.4261, allocations: 294.3 kB / 0.5589 GB, free: 12.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007352/0.4269, allocations: 203.2 kB / 0.5591 GB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/0.4281, allocations: 0.9225 MB / 0.56 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007332/0.4289, allocations: 47.98 kB / 0.56 GB, free: 11.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.871e-05/0.429, allocations: 68.06 kB / 0.5601 GB, free: 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.0005161/0.4295, allocations: 347.9 kB / 0.5604 GB, free: 10.65 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/0.4297, allocations: 95.47 kB / 0.5605 GB, free: 10.55 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.4308, allocations: 0.5167 MB / 0.561 GB, free: 10.03 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.4308, allocations: 4 kB / 0.561 GB, free: 10.03 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.4308, allocations: 0 / 0.561 GB, free: 10.03 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.4308, allocations: 3.984 kB / 0.561 GB, free: 10.02 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001815/0.4327, allocations: 0.9606 MB / 0.5619 GB, free: 9.016 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.4327, allocations: 4 kB / 0.5619 GB, free: 9.012 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.4337, allocations: 179.8 kB / 0.5621 GB, free: 8.836 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001115/0.4338, allocations: 24.88 kB / 0.5621 GB, free: 8.809 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.245e-05/0.4339, allocations: 15.98 kB / 0.5621 GB, free: 8.793 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002519/0.4364, allocations: 2.618 MB / 0.5647 GB, free: 5.977 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.4364, allocations: 4.031 kB / 0.5647 GB, free: 5.973 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.4376, allocations: 0.7058 MB / 0.5654 GB, free: 5.246 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002729/0.4379, allocations: 103.5 kB / 0.5655 GB, free: 5.145 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.727e-05/0.438, allocations: 12 kB / 0.5655 GB, free: 5.133 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004113/0.4384, allocations: 16.3 kB / 0.5655 GB, free: 5.117 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.397e-05/0.4385, allocations: 27.95 kB / 0.5656 GB, free: 5.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.968e-05/0.4385, allocations: 31.36 kB / 0.5656 GB, free: 5.062 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008883/0.4394, allocations: 0.5224 MB / 0.5661 GB, free: 4.543 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4394, allocations: 0 / 0.5661 GB, free: 4.543 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001472/0.4409, allocations: 375.5 kB / 0.5665 GB, free: 4.176 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.001738/0.4426, allocations: 0.6526 MB / 0.5671 GB, free: 3.516 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001439/0.4441, allocations: 0.6667 MB / 0.5677 GB, free: 2.852 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4441, allocations: 4.062 kB / 0.5677 GB, free: 2.848 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001/0.4451, allocations: 354.4 kB / 0.5681 GB, free: 2.488 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001603/0.4467, allocations: 353.1 kB / 0.5684 GB, free: 2.164 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002685/0.4494, allocations: 1.532 MB / 0.5699 GB, free: 0.5938 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005664/0.4499, allocations: 441.5 kB / 0.5703 GB, free: 140 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001034/0.451, allocations: 361.7 kB / 0.5707 GB, free: 15.78 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/0.4512, allocations: 76.42 kB / 0.5708 GB, free: 15.71 MB / 458.7 MB Notification: Performance of SimCode: time 1.032e-06/0.4512, allocations: 0 / 0.5708 GB, free: 15.71 MB / 458.7 MB Notification: Performance of Templates: time 0.03586/0.4871, allocations: 19.42 MB / 0.5897 GB, free: 12.62 MB / 474.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=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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins/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: 6.1574342109961435]