Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001444/0.001444, allocations: 105 kB / 20.44 MB, free: 1.504 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.001634/0.001634, allocations: 217.3 kB / 23.76 MB, free: 4.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.253/1.253, allocations: 207.6 MB / 234.5 MB, free: 9.969 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1972/0.1972, allocations: 44.24 MB / 331 MB, free: 9.5 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 75.89 kB / 468.8 MB, free: 3.977 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1056, allocations: 61.02 MB / 0.5174 GB, free: 6.816 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3879/0.4935, allocations: 184.1 MB / 0.6972 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.009552/0.5031, allocations: 7.025 MB / 0.704 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006232/0.5037, allocations: 31.69 kB / 0.704 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001146/0.5049, allocations: 437.7 kB / 0.7045 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004821/0.5097, allocations: 2.075 MB / 0.7065 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004195/0.5139, allocations: 1.729 MB / 0.7082 GB, free: 100 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002753/0.5166, allocations: 2.134 MB / 0.7103 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000912/0.5175, allocations: 489.4 kB / 0.7107 GB, free: 13.47 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00451/0.522, allocations: 1.927 MB / 0.7126 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002941/0.525, allocations: 1.538 MB / 0.7141 GB, free: 9.996 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002787/0.5253, allocations: 79.94 kB / 0.7142 GB, free: 9.918 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003473/0.5287, allocations: 1.641 MB / 0.7158 GB, free: 8.273 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005899/0.5293, allocations: 450.7 kB / 0.7162 GB, free: 7.832 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0009462/0.5303, allocations: 0.5601 MB / 0.7168 GB, free: 7.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003777/0.5341, allocations: 2.196 MB / 0.7189 GB, free: 5.066 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.5341, allocations: 0 / 0.7189 GB, free: 5.066 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5341, allocations: 0 / 0.7189 GB, free: 5.066 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.348e-05/0.5341, allocations: 4 kB / 0.7189 GB, free: 5.062 MB / 0.545 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.0032/0.5373, allocations: 1.372 MB / 0.7203 GB, free: 3.656 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.5373, allocations: 8.031 kB / 0.7203 GB, free: 3.648 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001398/0.5387, allocations: 287.1 kB / 0.7205 GB, free: 3.367 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.54, allocations: 0.5752 MB / 0.7211 GB, free: 2.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001625/0.5401, allocations: 165.5 kB / 0.7213 GB, free: 2.582 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.5403, allocations: 67.98 kB / 0.7213 GB, free: 2.516 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001974/0.5422, allocations: 1.26 MB / 0.7225 GB, free: 1.184 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/0.5423, allocations: 7.938 kB / 0.7226 GB, free: 1.176 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.5424, allocations: 36 kB / 0.7226 GB, free: 1.141 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.671e-05/0.5425, allocations: 77.2 kB / 0.7227 GB, free: 1.066 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/0.5441, allocations: 1.055 MB / 0.7237 GB, free: 12 kB / 0.545 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.006914/0.5511, allocations: 4.716 MB / 0.7283 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005327/0.5516, allocations: 286.6 kB / 0.7286 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002415/0.5518, allocations: 140.8 kB / 0.7287 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001411/0.552, allocations: 65.95 kB / 0.7288 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.809e-05/0.552, allocations: 42.5 kB / 0.7288 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=28): time 3.917e-06/0.552, allocations: 4 kB / 0.7288 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.006332/0.5584, allocations: 1.75 MB / 0.7305 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.076e-05/0.5584, allocations: 132.5 kB / 0.7307 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.5597, allocations: 0.939 MB / 0.7316 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.033e-05/0.5597, allocations: 29.7 kB / 0.7316 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004885/0.5602, allocations: 0.5886 MB / 0.7322 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.5603, allocations: 138.9 kB / 0.7323 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002863/0.5606, allocations: 218.8 kB / 0.7325 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002151/0.5608, allocations: 398.7 kB / 0.7329 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000468/0.5613, allocations: 275.2 kB / 0.7332 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009258/0.5622, allocations: 0.86 MB / 0.734 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.5637, allocations: 1.183 MB / 0.7351 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.22e-05/0.5637, allocations: 8 kB / 0.7352 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002045/0.5657, allocations: 1.229 MB / 0.7364 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.5657, allocations: 17.88 kB / 0.7364 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.152e-05/0.5658, allocations: 24.16 kB / 0.7364 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001223/0.567, allocations: 291.4 kB / 0.7367 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000558/0.5676, allocations: 199.6 kB / 0.7369 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001088/0.5686, allocations: 0.9177 MB / 0.7378 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006816/0.5693, allocations: 48.05 kB / 0.7378 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.77e-05/0.5694, allocations: 67.94 kB / 0.7379 GB, free: 496 kB / 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.0004481/0.5699, allocations: 345.2 kB / 0.7382 GB, free: 140 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.57, allocations: 99.33 kB / 0.7383 GB, free: 40 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009462/0.571, allocations: 485.9 kB / 0.7388 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.571, allocations: 4 kB / 0.7388 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.571, allocations: 48 / 0.7388 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.571, allocations: 7.969 kB / 0.7388 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/0.5728, allocations: 1.097 MB / 0.7398 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.5728, allocations: 4.031 kB / 0.7398 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009513/0.5737, allocations: 179.8 kB / 0.74 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.51e-05/0.5738, allocations: 24.83 kB / 0.74 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-05/0.5739, allocations: 8 kB / 0.74 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002135/0.576, allocations: 2.671 MB / 0.7427 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.576, allocations: 1.031 kB / 0.7427 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.5771, allocations: 0.7087 MB / 0.7434 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003276/0.5774, allocations: 123.4 kB / 0.7435 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.5775, allocations: 8 kB / 0.7435 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004072/0.5779, allocations: 15.98 kB / 0.7435 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.557e-05/0.578, allocations: 32.02 kB / 0.7435 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.651e-05/0.578, allocations: 15.98 kB / 0.7435 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008312/0.5789, allocations: 0.6282 MB / 0.7442 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5789, allocations: 0 / 0.7442 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001353/0.5802, allocations: 427.3 kB / 0.7446 GB, free: 9.297 MB / 0.5762 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.001918/0.5821, allocations: 0.7554 MB / 0.7453 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001381/0.5835, allocations: 0.6494 MB / 0.7459 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.5835, allocations: 0 / 0.7459 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008564/0.5844, allocations: 352 kB / 0.7463 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001734/0.5861, allocations: 434.7 kB / 0.7467 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002668/0.5888, allocations: 1.694 MB / 0.7483 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006737/0.5894, allocations: 1.032 MB / 0.7493 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002185/0.5897, allocations: 83.42 kB / 0.7494 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of SimCode: time 6.21e-07/0.5897, allocations: 0 / 0.7494 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of Templates: time 0.2162/0.8059, allocations: 23.5 MB / 0.7724 GB, free: 212.8 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 11.165437371004373]