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.001123/0.001123, allocations: 81.86 kB / 21.44 MB, free: 3.059 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.0009449/0.0009449, allocations: 166.7 kB / 24.84 MB, free: 8.91 MB / 18.57 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 0.8882/0.8882, allocations: 158.6 MB / 186.7 MB, free: 2.762 MB / 170.7 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.1418/0.1418, allocations: 32.38 MB / 271.5 MB, free: 14.53 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 348.9 MB, free: 9.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.62e-05/2.795e-05, allocations: 2.312 kB / 348.9 MB, free: 9.141 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3405/0.3405, allocations: 144.7 MB / 493.7 MB, free: 9.488 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00406/0.3446, allocations: 3.039 MB / 496.7 MB, free: 8.836 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005633/0.3451, allocations: 29.69 kB / 496.8 MB, free: 8.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006511/0.3458, allocations: 234.8 kB / 497 MB, free: 8.668 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002971/0.3488, allocations: 1.6 MB / 498.6 MB, free: 7.938 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001741/0.3505, allocations: 0.9422 MB / 499.5 MB, free: 7.641 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001752/0.3523, allocations: 2.22 MB / 0.49 GB, free: 6.969 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005867/0.3528, allocations: 0.5201 MB / 0.4905 GB, free: 6.613 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003052/0.3559, allocations: 2.837 MB / 0.4933 GB, free: 5.156 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000811/0.3567, allocations: 0.6868 MB / 0.4939 GB, free: 4.859 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.3568, allocations: 74.47 kB / 0.494 GB, free: 4.859 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009951/0.3578, allocations: 0.6994 MB / 0.4947 GB, free: 4.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002658/0.3581, allocations: 475.6 kB / 0.4951 GB, free: 4.281 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003108/0.3584, allocations: 416.7 kB / 0.4955 GB, free: 4.113 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.3597, allocations: 1.487 MB / 0.497 GB, free: 2.906 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3597, allocations: 0 / 0.497 GB, free: 2.906 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3597, allocations: 0 / 0.497 GB, free: 2.906 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.652e-05/0.3597, allocations: 0 / 0.497 GB, free: 2.906 MB / 362.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.001521/0.3612, allocations: 1.411 MB / 0.4984 GB, free: 1.516 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.3613, allocations: 12.03 kB / 0.4984 GB, free: 1.504 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007783/0.3621, allocations: 382.5 kB / 0.4987 GB, free: 1.133 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005505/0.3626, allocations: 0.5567 MB / 0.4993 GB, free: 0.5586 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.39e-05/0.3627, allocations: 164.7 kB / 0.4994 GB, free: 384 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.259e-05/0.3628, allocations: 80.75 kB / 0.4995 GB, free: 308 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009937/0.3638, allocations: 1.506 MB / 0.501 GB, free: 14.56 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.3638, allocations: 6.672 kB / 0.501 GB, free: 14.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.721e-05/0.3639, allocations: 32 kB / 0.501 GB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-05/0.3639, allocations: 81.27 kB / 0.5011 GB, free: 14.44 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000427/0.3644, allocations: 344.3 kB / 0.5014 GB, free: 14.11 MB / 378.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.003622/0.368, allocations: 4.224 MB / 0.5056 GB, free: 9.867 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.3683, allocations: 153.8 kB / 0.5057 GB, free: 9.711 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.3684, allocations: 67.25 kB / 0.5058 GB, free: 9.645 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/0.3685, allocations: 62.25 kB / 0.5058 GB, free: 9.586 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.3685, allocations: 41.39 kB / 0.5059 GB, free: 9.535 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 1.864e-06/0.3685, allocations: 0 / 0.5059 GB, free: 9.535 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.003105/0.3716, allocations: 1.186 MB / 0.507 GB, free: 8.289 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.3717, allocations: 132.5 kB / 0.5072 GB, free: 8.129 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005784/0.3723, allocations: 0.8097 MB / 0.5079 GB, free: 7.422 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.3723, allocations: 33.7 kB / 0.508 GB, free: 7.383 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003295/0.3726, allocations: 0.6649 MB / 0.5086 GB, free: 6.707 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.114e-05/0.3727, allocations: 142.9 kB / 0.5088 GB, free: 6.566 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002618/0.373, allocations: 236.3 kB / 0.509 GB, free: 6.328 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.3732, allocations: 0.5819 MB / 0.5096 GB, free: 5.734 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.3733, allocations: 90.53 kB / 0.5096 GB, free: 5.648 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005741/0.3739, allocations: 1.054 MB / 0.5107 GB, free: 4.172 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007734/0.3746, allocations: 1.151 MB / 0.5118 GB, free: 2.629 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/0.3746, allocations: 7.938 kB / 0.5118 GB, free: 2.621 MB / 378.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.0009156/0.3756, allocations: 0.8871 MB / 0.5127 GB, free: 1.723 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.3756, allocations: 26.89 kB / 0.5127 GB, free: 1.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.3756, allocations: 20 kB / 0.5127 GB, free: 1.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008589/0.3765, allocations: 230.5 kB / 0.5129 GB, free: 1.453 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004285/0.3769, allocations: 207.6 kB / 0.5131 GB, free: 1.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007429/0.3776, allocations: 0.9832 MB / 0.5141 GB, free: 240 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007615/0.3784, allocations: 47.92 kB / 0.5141 GB, free: 192 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.214e-05/0.3784, allocations: 64.03 kB / 0.5142 GB, free: 128 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 114 * 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.0002923/0.3787, allocations: 236.1 kB / 0.5144 GB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.3789, allocations: 95.48 kB / 0.5145 GB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004661/0.3794, allocations: 316.8 kB / 0.5148 GB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.3794, allocations: 7.938 kB / 0.5148 GB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.3794, allocations: 0 / 0.5148 GB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.3794, allocations: 3.984 kB / 0.5148 GB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.3804, allocations: 0.7549 MB / 0.5156 GB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3804, allocations: 0 / 0.5156 GB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004527/0.3808, allocations: 159.9 kB / 0.5157 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.586e-05/0.3809, allocations: 19.67 kB / 0.5157 GB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.3809, allocations: 8 kB / 0.5157 GB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001551/0.3825, allocations: 3.516 MB / 0.5192 GB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3825, allocations: 3.938 kB / 0.5192 GB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004883/0.383, allocations: 492 kB / 0.5197 GB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/0.3832, allocations: 107.6 kB / 0.5198 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.129e-05/0.3832, allocations: 15.95 kB / 0.5198 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.3834, allocations: 12 kB / 0.5198 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.472e-05/0.3835, allocations: 31.88 kB / 0.5198 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/0.3835, allocations: 12 kB / 0.5198 GB, free: 10.04 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002938/0.3838, allocations: 430.8 kB / 0.5202 GB, free: 9.625 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.3838, allocations: 0 / 0.5202 GB, free: 9.625 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000917/0.3847, allocations: 359.5 kB / 0.5206 GB, free: 9.273 MB / 394.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.0009868/0.3857, allocations: 0.5219 MB / 0.5211 GB, free: 8.754 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007144/0.3864, allocations: 466.4 kB / 0.5215 GB, free: 8.297 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3864, allocations: 4.062 kB / 0.5215 GB, free: 8.293 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004333/0.3868, allocations: 333.3 kB / 0.5219 GB, free: 7.945 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008537/0.3877, allocations: 348 kB / 0.5222 GB, free: 7.609 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.3898, allocations: 1.362 MB / 0.5235 GB, free: 6.203 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/0.39, allocations: 211.2 kB / 0.5237 GB, free: 5.977 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004482/0.3904, allocations: 151.2 kB / 0.5239 GB, free: 5.824 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005831/0.391, allocations: 409.8 kB / 0.5243 GB, free: 5.422 MB / 394.7 MB Notification: Performance of SimCode: time 1.853e-06/0.391, allocations: 0 / 0.5243 GB, free: 5.422 MB / 394.7 MB Notification: Performance of Templates: time 0.02716/0.4181, allocations: 20.74 MB / 0.5445 GB, free: 0.7695 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.0578602366149426]