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.002612/0.002612, allocations: 91.61 kB / 20.96 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.003166/0.003166, allocations: 165.3 kB / 24.28 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.599/1.599, 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.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.3639/0.3639, allocations: 34.27 MB / 295.3 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 179] 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.513e-06/1.513e-06, allocations: 0 / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/2.775e-05, allocations: 2.312 kB / 377.3 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3847/0.3847, allocations: 173.9 MB / 0.5383 GB, free: 15.48 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01078/0.3955, allocations: 6.65 MB / 0.5448 GB, free: 11.05 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007015/0.3962, allocations: 26.72 kB / 0.5448 GB, free: 11.04 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001173/0.3974, allocations: 392.9 kB / 0.5452 GB, free: 10.84 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004544/0.4019, allocations: 1.828 MB / 0.5469 GB, free: 9.875 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004458/0.4064, allocations: 1.548 MB / 0.5485 GB, free: 8.879 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002863/0.4092, allocations: 2.154 MB / 0.5506 GB, free: 7.648 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008667/0.4101, allocations: 0.5005 MB / 0.551 GB, free: 7.289 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004213/0.4143, allocations: 2.058 MB / 0.5531 GB, free: 6.047 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003108/0.4174, allocations: 1.485 MB / 0.5545 GB, free: 4.93 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002545/0.4177, allocations: 79.94 kB / 0.5546 GB, free: 4.852 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003255/0.4209, allocations: 1.161 MB / 0.5557 GB, free: 3.688 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006363/0.4216, allocations: 482.8 kB / 0.5562 GB, free: 3.211 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006981/0.4223, allocations: 411.2 kB / 0.5566 GB, free: 2.809 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003794/0.4261, allocations: 2.22 MB / 0.5587 GB, free: 0.582 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.4261, allocations: 4 kB / 0.5587 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4261, allocations: 0 / 0.5587 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.944e-05/0.4261, allocations: 0 / 0.5587 GB, free: 0.5781 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.003614/0.4297, allocations: 1.562 MB / 0.5603 GB, free: 14.98 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.4297, allocations: 16.03 kB / 0.5603 GB, free: 14.96 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001736/0.4315, allocations: 410.6 kB / 0.5607 GB, free: 14.56 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/0.4328, allocations: 0.578 MB / 0.5612 GB, free: 13.96 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001837/0.433, allocations: 164.1 kB / 0.5614 GB, free: 13.77 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001915/0.4332, allocations: 87.92 kB / 0.5615 GB, free: 13.68 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002449/0.4357, allocations: 1.687 MB / 0.5631 GB, free: 11.73 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.112e-05/0.4357, allocations: 11.89 kB / 0.5631 GB, free: 11.71 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/0.4358, allocations: 28 kB / 0.5632 GB, free: 11.69 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001197/0.4359, allocations: 81.27 kB / 0.5632 GB, free: 11.61 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/0.4373, allocations: 0.5827 MB / 0.5638 GB, free: 11.02 MB / 442.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.007935/0.4452, allocations: 4.773 MB / 0.5685 GB, free: 6.129 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005352/0.4458, allocations: 248.9 kB / 0.5687 GB, free: 5.875 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00025/0.446, allocations: 113.4 kB / 0.5688 GB, free: 5.762 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.104e-05/0.4461, allocations: 23.98 kB / 0.5688 GB, free: 5.738 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.591e-05/0.4462, allocations: 41.39 kB / 0.5689 GB, free: 5.688 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 1.884e-06/0.4462, allocations: 0 / 0.5689 GB, free: 5.688 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.007183/0.4533, allocations: 1.589 MB / 0.5704 GB, free: 4.039 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.4534, allocations: 132.5 kB / 0.5706 GB, free: 3.879 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/0.4548, allocations: 0.9908 MB / 0.5715 GB, free: 2.871 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.27e-05/0.4549, allocations: 37.64 kB / 0.5716 GB, free: 2.828 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006473/0.4555, allocations: 0.6887 MB / 0.5722 GB, free: 2.129 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.4557, allocations: 146.9 kB / 0.5724 GB, free: 1.984 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004098/0.4561, allocations: 260.4 kB / 0.5726 GB, free: 1.723 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004415/0.4565, allocations: 0.6289 MB / 0.5732 GB, free: 1.082 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000379/0.4569, allocations: 158.5 kB / 0.5734 GB, free: 0.9258 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/0.4582, allocations: 1.122 MB / 0.5745 GB, free: 15.39 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001934/0.4602, allocations: 1.275 MB / 0.5757 GB, free: 13.74 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/0.4602, allocations: 7.938 kB / 0.5757 GB, free: 13.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00204/0.4622, allocations: 1.066 MB / 0.5768 GB, free: 12.66 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.4622, allocations: 16.94 kB / 0.5768 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.609e-05/0.4623, allocations: 20 kB / 0.5768 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001337/0.4636, allocations: 283.3 kB / 0.5771 GB, free: 12.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006169/0.4642, allocations: 203.6 kB / 0.5773 GB, free: 12.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/0.4655, allocations: 1.132 MB / 0.5784 GB, free: 10.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006763/0.4662, allocations: 43.31 kB / 0.5784 GB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.4663, allocations: 68 kB / 0.5785 GB, free: 10.88 MB / 458.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.0004053/0.4667, allocations: 284 kB / 0.5788 GB, free: 10.59 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/0.4669, allocations: 99.52 kB / 0.5789 GB, free: 10.49 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.4679, allocations: 455 kB / 0.5793 GB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.4679, allocations: 0 / 0.5793 GB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4679, allocations: 8 kB / 0.5793 GB, free: 10.03 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.4679, allocations: 3.984 kB / 0.5793 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001992/0.4699, allocations: 1.098 MB / 0.5804 GB, free: 8.875 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.4699, allocations: 0 / 0.5804 GB, free: 8.875 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009857/0.4709, allocations: 175.8 kB / 0.5805 GB, free: 8.703 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001023/0.471, allocations: 27.7 kB / 0.5806 GB, free: 8.672 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.672e-05/0.471, allocations: 15.98 kB / 0.5806 GB, free: 8.656 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003183/0.4742, allocations: 3.645 MB / 0.5841 GB, free: 4.773 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4742, allocations: 0 / 0.5841 GB, free: 4.773 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.4753, allocations: 0.6539 MB / 0.5848 GB, free: 4.094 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002964/0.4756, allocations: 111.4 kB / 0.5849 GB, free: 3.984 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.4757, allocations: 8 kB / 0.5849 GB, free: 3.977 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003785/0.4761, allocations: 12 kB / 0.5849 GB, free: 3.965 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.779e-05/0.4762, allocations: 23.95 kB / 0.5849 GB, free: 3.941 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.756e-05/0.4762, allocations: 27.92 kB / 0.585 GB, free: 3.914 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007372/0.477, allocations: 0.5225 MB / 0.5855 GB, free: 3.395 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.477, allocations: 4 kB / 0.5855 GB, free: 3.391 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001325/0.4783, allocations: 387.4 kB / 0.5858 GB, free: 3.012 MB / 458.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.001688/0.48, allocations: 0.6486 MB / 0.5865 GB, free: 2.352 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00133/0.4813, allocations: 0.6031 MB / 0.5871 GB, free: 1.75 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.4813, allocations: 4 kB / 0.5871 GB, free: 1.746 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009486/0.4823, allocations: 410.1 kB / 0.5875 GB, free: 1.324 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/0.4839, allocations: 346.8 kB / 0.5878 GB, free: 1.008 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002438/0.4863, allocations: 1.4 MB / 0.5892 GB, free: 15.57 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007268/0.487, allocations: 425.4 kB / 0.5896 GB, free: 15.12 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000883/0.4879, allocations: 336.5 kB / 0.5899 GB, free: 14.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/0.4881, allocations: 76.47 kB / 0.59 GB, free: 14.72 MB / 474.7 MB Notification: Performance of SimCode: time 7.31e-07/0.4881, allocations: 0 / 0.59 GB, free: 14.72 MB / 474.7 MB Notification: Performance of Templates: time 0.03536/0.5235, allocations: 19.48 MB / 0.609 GB, free: 11.57 MB / 490.7 MB " [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=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","/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.418246540008113]