Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008946/0.0008946, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009072/0.0009072, allocations: 161 kB / 24.56 MB, free: 16 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.003/1.003, allocations: 177.1 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2701/0.2701, allocations: 32.81 MB / 294.3 MB, free: 1.289 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.506e-05, allocations: 5.547 kB / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3157/0.3158, allocations: 149.2 MB / 0.5129 GB, free: 17.93 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003602/0.3194, allocations: 3.053 MB / 0.5159 GB, free: 15.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003401/0.3197, allocations: 27.75 kB / 0.5159 GB, free: 15.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00059/0.3203, allocations: 242.9 kB / 0.5162 GB, free: 15.77 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002384/0.3227, allocations: 1.538 MB / 0.5177 GB, free: 14.94 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.3241, allocations: 0.9428 MB / 0.5186 GB, free: 14.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001739/0.3259, allocations: 2.223 MB / 0.5208 GB, free: 13.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006327/0.3265, allocations: 0.5155 MB / 0.5213 GB, free: 13.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003079/0.3296, allocations: 2.922 MB / 0.5241 GB, free: 12.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008128/0.3304, allocations: 0.6848 MB / 0.5248 GB, free: 11.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001441/0.3305, allocations: 74.28 kB / 0.5249 GB, free: 11.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.3316, allocations: 0.6649 MB / 0.5255 GB, free: 11.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002804/0.3319, allocations: 479 kB / 0.526 GB, free: 11.49 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003328/0.3322, allocations: 418.1 kB / 0.5264 GB, free: 11.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001587/0.3338, allocations: 1.46 MB / 0.5278 GB, free: 10.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3338, allocations: 0 / 0.5278 GB, free: 10.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3338, allocations: 0 / 0.5278 GB, free: 10.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.883e-05/0.3338, allocations: 4 kB / 0.5278 GB, free: 10.79 MB / 410.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.001918/0.3357, allocations: 1.467 MB / 0.5292 GB, free: 9.883 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.3358, allocations: 11.56 kB / 0.5292 GB, free: 9.883 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009052/0.3367, allocations: 413.6 kB / 0.5296 GB, free: 9.734 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006143/0.3373, allocations: 0.5747 MB / 0.5302 GB, free: 9.395 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.926e-05/0.3374, allocations: 168.8 kB / 0.5304 GB, free: 9.238 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.3375, allocations: 76.14 kB / 0.5304 GB, free: 9.215 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.3385, allocations: 1.547 MB / 0.5319 GB, free: 7.879 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.3386, allocations: 3.953 kB / 0.5319 GB, free: 7.875 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-05/0.3386, allocations: 31.47 kB / 0.532 GB, free: 7.855 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.749e-05/0.3387, allocations: 92.52 kB / 0.5321 GB, free: 7.836 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006193/0.3393, allocations: 424.5 kB / 0.5325 GB, free: 7.758 MB / 410.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.003316/0.3426, allocations: 4.324 MB / 0.5367 GB, free: 4.422 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.3429, allocations: 181.9 kB / 0.5369 GB, free: 4.344 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.676e-05/0.343, allocations: 69.84 kB / 0.5369 GB, free: 4.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.751e-05/0.343, allocations: 28.59 kB / 0.537 GB, free: 4.312 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.3431, allocations: 42.33 kB / 0.537 GB, free: 4.266 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.372e-06/0.3431, allocations: 4 kB / 0.537 GB, free: 4.262 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.003051/0.3461, allocations: 1.394 MB / 0.5384 GB, free: 3.508 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.3461, allocations: 135.3 kB / 0.5385 GB, free: 3.348 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005572/0.3467, allocations: 0.8229 MB / 0.5393 GB, free: 2.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.3467, allocations: 32.45 kB / 0.5393 GB, free: 2.895 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.347, allocations: 0.6561 MB / 0.54 GB, free: 2.344 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.608e-05/0.347, allocations: 141.3 kB / 0.5401 GB, free: 2.238 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.3472, allocations: 238.8 kB / 0.5403 GB, free: 2.109 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.3473, allocations: 0.5808 MB / 0.5409 GB, free: 1.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.3475, allocations: 114.8 kB / 0.541 GB, free: 1.555 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003974/0.3479, allocations: 1.068 MB / 0.5421 GB, free: 260 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008499/0.3487, allocations: 1.191 MB / 0.5432 GB, free: 14.92 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.3487, allocations: 5.656 kB / 0.5432 GB, free: 14.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.001024/0.3497, allocations: 0.9513 MB / 0.5441 GB, free: 14.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.3498, allocations: 16.72 kB / 0.5442 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.3498, allocations: 24.03 kB / 0.5442 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006212/0.3504, allocations: 247.9 kB / 0.5444 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003144/0.3507, allocations: 207.9 kB / 0.5446 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006175/0.3513, allocations: 1.003 MB / 0.5456 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003244/0.3517, allocations: 42.28 kB / 0.5456 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.586e-05/0.3517, allocations: 67.94 kB / 0.5457 GB, free: 13.41 MB / 426.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.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 (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.0001817/0.3519, allocations: 241.9 kB / 0.5459 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.482e-05/0.352, allocations: 97.61 kB / 0.546 GB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004878/0.3525, allocations: 393.7 kB / 0.5464 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.3525, allocations: 9.125 kB / 0.5464 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3525, allocations: 4 kB / 0.5464 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.3525, allocations: 0 / 0.5464 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009003/0.3534, allocations: 0.8881 MB / 0.5473 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3534, allocations: 0 / 0.5473 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000465/0.3538, allocations: 178.1 kB / 0.5475 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.829e-05/0.3539, allocations: 24.95 kB / 0.5475 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.3539, allocations: 10.39 kB / 0.5475 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001444/0.3554, allocations: 3.556 MB / 0.551 GB, free: 8.504 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3554, allocations: 0 / 0.551 GB, free: 8.504 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005138/0.3559, allocations: 0.5224 MB / 0.5515 GB, free: 8.141 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.356, allocations: 107.4 kB / 0.5516 GB, free: 8.035 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.549e-05/0.3561, allocations: 8 kB / 0.5516 GB, free: 8.027 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.3563, allocations: 16.14 kB / 0.5516 GB, free: 8.012 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.774e-05/0.3563, allocations: 27.95 kB / 0.5516 GB, free: 7.984 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/0.3564, allocations: 19.98 kB / 0.5516 GB, free: 7.965 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000367/0.3567, allocations: 458.9 kB / 0.5521 GB, free: 7.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3567, allocations: 0 / 0.5521 GB, free: 7.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000737/0.3575, allocations: 359.6 kB / 0.5524 GB, free: 7.168 MB / 426.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.0007991/0.3583, allocations: 490.4 kB / 0.5529 GB, free: 6.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006376/0.3589, allocations: 0.506 MB / 0.5534 GB, free: 6.176 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3589, allocations: 0 / 0.5534 GB, free: 6.176 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004397/0.3593, allocations: 365.6 kB / 0.5537 GB, free: 5.797 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007924/0.3601, allocations: 344.8 kB / 0.5541 GB, free: 5.473 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.3619, allocations: 1.362 MB / 0.5554 GB, free: 4.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.362, allocations: 207.2 kB / 0.5556 GB, free: 3.848 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005826/0.3626, allocations: 338.9 kB / 0.5559 GB, free: 3.512 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.3627, allocations: 80.42 kB / 0.556 GB, free: 3.434 MB / 426.7 MB Notification: Performance of SimCode: time 1.012e-06/0.3627, allocations: 0 / 0.556 GB, free: 3.434 MB / 426.7 MB Notification: Performance of Templates: time 0.02146/0.3842, allocations: 20.11 MB / 0.5756 GB, free: 15.64 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.131786248181015]