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.001095/0.001095, allocations: 80.98 kB / 20.65 MB, free: 3.84 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.001165/0.001165, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.9705/0.9705, allocations: 158.6 MB / 185.9 MB, free: 2.793 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.1358/0.1358, allocations: 32.37 MB / 270.7 MB, free: 14.54 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.934e-06/1.934e-06, allocations: 0 / 348.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.981e-05/3.174e-05, allocations: 2.312 kB / 348.1 MB, free: 9.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3101/0.3101, allocations: 144.7 MB / 492.9 MB, free: 9.477 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003981/0.3141, allocations: 3.047 MB / 495.9 MB, free: 8.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005262/0.3146, allocations: 33.66 kB / 496 MB, free: 8.801 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005813/0.3152, allocations: 235.4 kB / 496.2 MB, free: 8.648 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002662/0.3179, allocations: 1.593 MB / 497.8 MB, free: 7.922 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.3194, allocations: 0.9531 MB / 498.7 MB, free: 7.617 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002147/0.3215, allocations: 2.215 MB / 0.4892 GB, free: 6.949 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000928/0.3224, allocations: 0.5211 MB / 0.4897 GB, free: 6.594 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003845/0.3263, allocations: 2.833 MB / 0.4925 GB, free: 5.141 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001135/0.3274, allocations: 0.6882 MB / 0.4932 GB, free: 4.84 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002443/0.3277, allocations: 74.75 kB / 0.4932 GB, free: 4.84 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001464/0.3291, allocations: 0.7019 MB / 0.4939 GB, free: 4.551 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003123/0.3294, allocations: 475.8 kB / 0.4944 GB, free: 4.262 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005066/0.33, allocations: 415.7 kB / 0.4948 GB, free: 4.094 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002209/0.3322, allocations: 1.476 MB / 0.4962 GB, free: 2.898 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3322, allocations: 0 / 0.4962 GB, free: 2.898 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.619e-06/0.3322, allocations: 0 / 0.4962 GB, free: 2.898 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.93e-05/0.3322, allocations: 0 / 0.4962 GB, free: 2.898 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.001762/0.334, allocations: 1.421 MB / 0.4976 GB, free: 1.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.334, allocations: 8.031 kB / 0.4976 GB, free: 1.492 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008846/0.3349, allocations: 381.8 kB / 0.498 GB, free: 1.121 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006111/0.3355, allocations: 0.551 MB / 0.4985 GB, free: 0.5508 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-05/0.3356, allocations: 171.2 kB / 0.4987 GB, free: 372 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.615e-05/0.3357, allocations: 80.83 kB / 0.4988 GB, free: 296 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.3368, allocations: 1.51 MB / 0.5002 GB, free: 14.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/0.3368, allocations: 7.938 kB / 0.5002 GB, free: 14.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.195e-05/0.3369, allocations: 31.44 kB / 0.5003 GB, free: 14.51 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.607e-05/0.3369, allocations: 81.27 kB / 0.5003 GB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004753/0.3374, allocations: 348.2 kB / 0.5007 GB, free: 14.09 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.003996/0.3414, allocations: 4.223 MB / 0.5048 GB, free: 9.848 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.3416, allocations: 161.7 kB / 0.505 GB, free: 9.688 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.107e-05/0.3417, allocations: 62.47 kB / 0.505 GB, free: 9.625 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.427e-05/0.3418, allocations: 61.83 kB / 0.5051 GB, free: 9.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.3418, allocations: 49.27 kB / 0.5051 GB, free: 9.512 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 1.783e-06/0.3418, allocations: 4 kB / 0.5051 GB, free: 9.508 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.002996/0.3448, allocations: 1.189 MB / 0.5063 GB, free: 8.262 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.3449, allocations: 132.5 kB / 0.5064 GB, free: 8.102 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005546/0.3454, allocations: 0.8108 MB / 0.5072 GB, free: 7.402 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.3455, allocations: 29.7 kB / 0.5072 GB, free: 7.367 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000326/0.3458, allocations: 0.6664 MB / 0.5079 GB, free: 6.699 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.613e-05/0.3459, allocations: 142.9 kB / 0.508 GB, free: 6.559 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/0.3461, allocations: 232.4 kB / 0.5082 GB, free: 6.324 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004946/0.3466, allocations: 0.5935 MB / 0.5088 GB, free: 5.719 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.3467, allocations: 86.55 kB / 0.5089 GB, free: 5.637 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005395/0.3472, allocations: 1.054 MB / 0.5099 GB, free: 4.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009755/0.3482, allocations: 1.151 MB / 0.5111 GB, free: 2.617 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.395e-05/0.3482, allocations: 4 kB / 0.5111 GB, free: 2.613 MB / 378.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.001056/0.3493, allocations: 0.8905 MB / 0.5119 GB, free: 1.711 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.3493, allocations: 12 kB / 0.5119 GB, free: 1.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.3493, allocations: 24 kB / 0.512 GB, free: 1.676 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006121/0.3499, allocations: 236.3 kB / 0.5122 GB, free: 1.441 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003192/0.3503, allocations: 207.6 kB / 0.5124 GB, free: 1.238 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006434/0.3509, allocations: 0.9863 MB / 0.5133 GB, free: 228 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004763/0.3514, allocations: 40 kB / 0.5134 GB, free: 188 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.276e-05/0.3514, allocations: 63.98 kB / 0.5134 GB, free: 124 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.0003061/0.3518, allocations: 240.1 kB / 0.5137 GB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.3519, allocations: 99.52 kB / 0.5138 GB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004601/0.3523, allocations: 324.7 kB / 0.5141 GB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.3523, allocations: 4 kB / 0.5141 GB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3523, allocations: 0 / 0.5141 GB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3523, allocations: 4 kB / 0.5141 GB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008573/0.3532, allocations: 0.7472 MB / 0.5148 GB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3532, allocations: 0 / 0.5148 GB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004104/0.3536, allocations: 155.8 kB / 0.515 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.758e-05/0.3537, allocations: 27.69 kB / 0.515 GB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.3537, allocations: 8 kB / 0.515 GB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00177/0.3555, allocations: 3.52 MB / 0.5184 GB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3555, allocations: 0 / 0.5184 GB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004427/0.3559, allocations: 499.9 kB / 0.5189 GB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.3561, allocations: 107.4 kB / 0.519 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.062e-05/0.3561, allocations: 7.953 kB / 0.519 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.3563, allocations: 16 kB / 0.519 GB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/0.3563, allocations: 19.95 kB / 0.5191 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.3564, allocations: 24.08 kB / 0.5191 GB, free: 10.03 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002968/0.3567, allocations: 430.8 kB / 0.5195 GB, free: 9.609 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3567, allocations: 0 / 0.5195 GB, free: 9.609 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009024/0.3576, allocations: 359.5 kB / 0.5198 GB, free: 9.258 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.0009673/0.3585, allocations: 0.5217 MB / 0.5203 GB, free: 8.738 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006557/0.3592, allocations: 465.9 kB / 0.5208 GB, free: 8.281 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.3592, allocations: 4 kB / 0.5208 GB, free: 8.277 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003965/0.3596, allocations: 337.9 kB / 0.5211 GB, free: 7.926 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008143/0.3604, allocations: 347.6 kB / 0.5214 GB, free: 7.59 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.3625, allocations: 1.358 MB / 0.5228 GB, free: 6.188 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000146/0.3627, allocations: 211.2 kB / 0.523 GB, free: 5.961 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003965/0.3631, allocations: 147.3 kB / 0.5231 GB, free: 5.812 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005576/0.3636, allocations: 409.8 kB / 0.5235 GB, free: 5.41 MB / 394.7 MB Notification: Performance of SimCode: time 9.62e-07/0.3636, allocations: 0 / 0.5235 GB, free: 5.41 MB / 394.7 MB Notification: Performance of Templates: time 0.02634/0.39, allocations: 20.52 MB / 0.5436 GB, free: 0.9648 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.367529367096722]