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.001012/0.001012, allocations: 91.33 kB / 20.43 MB, free: 4.137 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.001042/0.001042, allocations: 169 kB / 23.8 MB, free: 0.7695 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.9009/0.9009, allocations: 158.6 MB / 185.7 MB, free: 2.879 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.1383/0.1383, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.302e-06/1.302e-06, allocations: 0 / 347.7 MB, free: 9.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.716e-05/1.846e-05, allocations: 6.312 kB / 347.7 MB, free: 9.414 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.275/0.275, allocations: 147.6 MB / 495.2 MB, free: 8.965 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003105/0.2781, allocations: 3.06 MB / 498.3 MB, free: 8.215 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003109/0.2784, allocations: 27.28 kB / 498.3 MB, free: 8.199 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000549/0.279, allocations: 240 kB / 498.6 MB, free: 8.039 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002328/0.2813, allocations: 1.597 MB / 0.4884 GB, free: 7.102 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.2826, allocations: 0.9524 MB / 0.4894 GB, free: 6.684 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001468/0.284, allocations: 2.222 MB / 0.4915 GB, free: 5.633 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005558/0.2846, allocations: 0.5173 MB / 0.492 GB, free: 5.258 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001389/0.286, allocations: 1.442 MB / 0.4935 GB, free: 4.395 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001449/0.2874, allocations: 1.473 MB / 0.4949 GB, free: 3.598 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.2875, allocations: 81.38 kB / 0.495 GB, free: 3.594 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000828/0.2884, allocations: 0.6904 MB / 0.4956 GB, free: 3.266 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002254/0.2886, allocations: 491.2 kB / 0.4961 GB, free: 2.941 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002706/0.2889, allocations: 418.5 kB / 0.4965 GB, free: 2.754 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.29, allocations: 1.48 MB / 0.498 GB, free: 1.891 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.29, allocations: 3.984 kB / 0.498 GB, free: 1.887 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.031e-06/0.29, allocations: 3.938 kB / 0.498 GB, free: 1.883 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.29, allocations: 2.688 kB / 0.498 GB, free: 1.883 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.001439/0.2914, allocations: 1.417 MB / 0.4994 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.2914, allocations: 11.97 kB / 0.4994 GB, free: 0.582 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009382/0.2924, allocations: 411.5 kB / 0.4998 GB, free: 184 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006526/0.293, allocations: 0.5669 MB / 0.5003 GB, free: 15.58 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.2931, allocations: 172.7 kB / 0.5005 GB, free: 15.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.2933, allocations: 80.36 kB / 0.5006 GB, free: 15.31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.2944, allocations: 1.597 MB / 0.5021 GB, free: 13.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.2944, allocations: 7.938 kB / 0.5021 GB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.922e-05/0.2945, allocations: 31.98 kB / 0.5021 GB, free: 13.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.078e-05/0.2945, allocations: 85.27 kB / 0.5022 GB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006254/0.2952, allocations: 419.3 kB / 0.5026 GB, free: 12.9 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.003519/0.2987, allocations: 4.392 MB / 0.5069 GB, free: 8.371 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/0.299, allocations: 175 kB / 0.5071 GB, free: 8.188 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.2991, allocations: 72.39 kB / 0.5072 GB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.751e-05/0.2991, allocations: 65.84 kB / 0.5072 GB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.2992, allocations: 45.33 kB / 0.5073 GB, free: 7.996 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 1.593e-06/0.2992, allocations: 0 / 0.5073 GB, free: 7.996 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.00316/0.3023, allocations: 1.389 MB / 0.5086 GB, free: 6.535 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.3024, allocations: 132.5 kB / 0.5087 GB, free: 6.375 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005904/0.303, allocations: 0.8073 MB / 0.5095 GB, free: 5.555 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.303, allocations: 37.64 kB / 0.5096 GB, free: 5.512 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000366/0.3034, allocations: 0.6534 MB / 0.5102 GB, free: 4.848 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.3035, allocations: 138.9 kB / 0.5103 GB, free: 4.711 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002181/0.3037, allocations: 232.4 kB / 0.5106 GB, free: 4.477 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.3039, allocations: 0.5664 MB / 0.5111 GB, free: 3.898 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.304, allocations: 123.7 kB / 0.5112 GB, free: 3.777 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005478/0.3046, allocations: 1.036 MB / 0.5122 GB, free: 2.336 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007449/0.3053, allocations: 1.148 MB / 0.5134 GB, free: 0.8086 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.675e-06/0.3053, allocations: 11.92 kB / 0.5134 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0009757/0.3063, allocations: 0.9342 MB / 0.5143 GB, free: 15.85 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.3063, allocations: 16 kB / 0.5143 GB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.3063, allocations: 20 kB / 0.5143 GB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000624/0.307, allocations: 242.5 kB / 0.5146 GB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.3073, allocations: 203.6 kB / 0.5147 GB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005816/0.3079, allocations: 0.9982 MB / 0.5157 GB, free: 14.35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003195/0.3082, allocations: 48.02 kB / 0.5158 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.694e-05/0.3082, allocations: 64 kB / 0.5158 GB, free: 14.24 MB / 394.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.0001754/0.3084, allocations: 240.1 kB / 0.5161 GB, free: 14 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.806e-05/0.3085, allocations: 95.47 kB / 0.5161 GB, free: 13.9 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000438/0.3089, allocations: 352.5 kB / 0.5165 GB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.309, allocations: 0 / 0.5165 GB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.309, allocations: 4 kB / 0.5165 GB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.309, allocations: 3.984 kB / 0.5165 GB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009434/0.3099, allocations: 0.8835 MB / 0.5174 GB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3099, allocations: 0 / 0.5174 GB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004808/0.3104, allocations: 179.8 kB / 0.5175 GB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.545e-05/0.3105, allocations: 23.67 kB / 0.5175 GB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.834e-05/0.3105, allocations: 8 kB / 0.5176 GB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001286/0.3118, allocations: 3.554 MB / 0.521 GB, free: 8.598 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3118, allocations: 4 kB / 0.521 GB, free: 8.594 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004934/0.3123, allocations: 0.5272 MB / 0.5215 GB, free: 8.039 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.3124, allocations: 107.6 kB / 0.5216 GB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.993e-05/0.3124, allocations: 15.95 kB / 0.5217 GB, free: 7.918 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.3126, allocations: 15.98 kB / 0.5217 GB, free: 7.902 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.3127, allocations: 31.89 kB / 0.5217 GB, free: 7.871 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/0.3127, allocations: 19.98 kB / 0.5217 GB, free: 7.852 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003366/0.313, allocations: 450.9 kB / 0.5222 GB, free: 7.414 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.313, allocations: 0 / 0.5222 GB, free: 7.414 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006816/0.3137, allocations: 351.6 kB / 0.5225 GB, free: 7.07 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.0009172/0.3146, allocations: 0.5185 MB / 0.523 GB, free: 6.551 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006534/0.3153, allocations: 0.4897 MB / 0.5235 GB, free: 6.059 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3153, allocations: 0.9375 kB / 0.5235 GB, free: 6.059 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004472/0.3157, allocations: 361.3 kB / 0.5238 GB, free: 5.684 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008036/0.3165, allocations: 345.8 kB / 0.5242 GB, free: 5.355 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.3182, allocations: 1.365 MB / 0.5255 GB, free: 3.949 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.3184, allocations: 207.2 kB / 0.5257 GB, free: 3.727 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004517/0.3188, allocations: 274.8 kB / 0.5259 GB, free: 3.453 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.3189, allocations: 72.48 kB / 0.526 GB, free: 3.383 MB / 394.7 MB Notification: Performance of SimCode: time 8.71e-07/0.3189, allocations: 0 / 0.526 GB, free: 3.383 MB / 394.7 MB Notification: Performance of Templates: time 0.01825/0.3372, allocations: 18 MB / 0.5436 GB, free: 1.477 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.023701853118837]