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.001395/0.001395, allocations: 88.23 kB / 20.21 MB, free: 4.219 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.001549/0.001549, allocations: 161.7 kB / 23.52 MB, free: 0.9102 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 1.475/1.475, allocations: 158.6 MB / 185.3 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] 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.2441/0.2441, allocations: 32.37 MB / 270 MB, free: 14.79 MB / 266.7 MB " [Timeout remaining time 179] 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.313e-06/1.313e-06, allocations: 0 / 347 MB, free: 9.793 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.846e-05/2.978e-05, allocations: 6.25 kB / 347 MB, free: 9.785 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4082/0.4082, allocations: 158.8 MB / 0.4939 GB, free: 15.54 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01087/0.4191, allocations: 6.385 MB / 0.5001 GB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009389/0.42, allocations: 34.69 kB / 0.5001 GB, free: 10.53 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001338/0.4214, allocations: 395.5 kB / 0.5005 GB, free: 10.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005982/0.4274, allocations: 2.079 MB / 0.5025 GB, free: 8.5 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005766/0.4331, allocations: 1.747 MB / 0.5042 GB, free: 6.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003554/0.4367, allocations: 2.161 MB / 0.5064 GB, free: 4.578 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001066/0.4377, allocations: 0.51 MB / 0.5069 GB, free: 4.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005271/0.443, allocations: 2.173 MB / 0.509 GB, free: 1.891 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003318/0.4463, allocations: 1.457 MB / 0.5104 GB, free: 440 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002253/0.4466, allocations: 76 kB / 0.5105 GB, free: 364 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0038/0.4504, allocations: 1.379 MB / 0.5118 GB, free: 14.97 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006654/0.451, allocations: 478.7 kB / 0.5123 GB, free: 14.5 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007808/0.4518, allocations: 415.1 kB / 0.5127 GB, free: 14.1 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004556/0.4564, allocations: 2.361 MB / 0.515 GB, free: 11.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.4564, allocations: 0 / 0.515 GB, free: 11.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4564, allocations: 0 / 0.515 GB, free: 11.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.597e-05/0.4564, allocations: 0 / 0.515 GB, free: 11.73 MB / 394.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.003328/0.4597, allocations: 1.36 MB / 0.5163 GB, free: 10.33 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.4598, allocations: 16.02 kB / 0.5163 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001739/0.4615, allocations: 418.6 kB / 0.5167 GB, free: 9.906 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001604/0.4631, allocations: 0.5986 MB / 0.5173 GB, free: 9.277 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002038/0.4633, allocations: 164.1 kB / 0.5175 GB, free: 9.094 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002022/0.4635, allocations: 79.98 kB / 0.5175 GB, free: 9.016 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002878/0.4664, allocations: 1.999 MB / 0.5195 GB, free: 6.773 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.243e-05/0.4664, allocations: 7.938 kB / 0.5195 GB, free: 6.766 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/0.4665, allocations: 28 kB / 0.5195 GB, free: 6.738 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001263/0.4667, allocations: 85.27 kB / 0.5196 GB, free: 6.652 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001953/0.4686, allocations: 1.043 MB / 0.5206 GB, free: 5.605 MB / 394.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.007773/0.4764, allocations: 3.928 MB / 0.5245 GB, free: 1.566 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005921/0.477, allocations: 290.5 kB / 0.5247 GB, free: 1.273 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002726/0.4773, allocations: 136.8 kB / 0.5249 GB, free: 1.137 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001619/0.4774, allocations: 61.94 kB / 0.5249 GB, free: 1.074 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.46e-05/0.4775, allocations: 38.5 kB / 0.525 GB, free: 1.027 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 1.894e-06/0.4775, allocations: 4 kB / 0.525 GB, free: 1.023 MB / 394.7 MB Notification: Performance of matching and sorting (n=33): time 0.00725/0.4847, allocations: 1.765 MB / 0.5267 GB, free: 15.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.4848, allocations: 136.5 kB / 0.5268 GB, free: 15.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.486, allocations: 0.8399 MB / 0.5276 GB, free: 14.19 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.155e-05/0.4861, allocations: 29.7 kB / 0.5277 GB, free: 14.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005597/0.4867, allocations: 0.5883 MB / 0.5282 GB, free: 13.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/0.4868, allocations: 142.9 kB / 0.5284 GB, free: 13.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003404/0.4871, allocations: 218.8 kB / 0.5286 GB, free: 13.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002742/0.4874, allocations: 386.8 kB / 0.529 GB, free: 12.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005444/0.488, allocations: 282.4 kB / 0.5292 GB, free: 12.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/0.4892, allocations: 0.947 MB / 0.5302 GB, free: 11.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001905/0.4911, allocations: 1.169 MB / 0.5313 GB, free: 9.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.4911, allocations: 8 kB / 0.5313 GB, free: 9.832 MB / 410.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002411/0.4935, allocations: 1.275 MB / 0.5325 GB, free: 8.547 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/0.4936, allocations: 12 kB / 0.5326 GB, free: 8.535 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.73e-05/0.4936, allocations: 20 kB / 0.5326 GB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001465/0.4951, allocations: 287.5 kB / 0.5329 GB, free: 8.234 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006519/0.4957, allocations: 203.7 kB / 0.533 GB, free: 8.035 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/0.497, allocations: 0.9261 MB / 0.5339 GB, free: 7.086 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008087/0.4978, allocations: 47.98 kB / 0.534 GB, free: 7.039 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.498, allocations: 68.06 kB / 0.5341 GB, free: 6.973 MB / 410.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.0005699/0.4985, allocations: 337.2 kB / 0.5344 GB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/0.4987, allocations: 95.48 kB / 0.5345 GB, free: 6.539 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/0.4998, allocations: 481.9 kB / 0.5349 GB, free: 6.055 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.4998, allocations: 4 kB / 0.5349 GB, free: 6.051 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.4998, allocations: 0 / 0.5349 GB, free: 6.051 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4998, allocations: 0 / 0.5349 GB, free: 6.051 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001927/0.5017, allocations: 0.9684 MB / 0.5359 GB, free: 5.039 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.5017, allocations: 3.984 kB / 0.5359 GB, free: 5.035 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.5028, allocations: 179.8 kB / 0.5361 GB, free: 4.859 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001249/0.5029, allocations: 24.84 kB / 0.5361 GB, free: 4.832 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.71e-05/0.503, allocations: 15.98 kB / 0.5361 GB, free: 4.816 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002829/0.5058, allocations: 2.628 MB / 0.5387 GB, free: 1.988 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5058, allocations: 0 / 0.5387 GB, free: 1.988 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/0.5072, allocations: 0.701 MB / 0.5393 GB, free: 1.266 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003382/0.5075, allocations: 115.5 kB / 0.5395 GB, free: 1.152 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.5076, allocations: 4 kB / 0.5395 GB, free: 1.148 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004492/0.5081, allocations: 15.98 kB / 0.5395 GB, free: 1.133 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.275e-05/0.5082, allocations: 27.95 kB / 0.5395 GB, free: 1.105 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-05/0.5082, allocations: 24.2 kB / 0.5395 GB, free: 1.082 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000833/0.509, allocations: 0.5263 MB / 0.54 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.509, allocations: 0 / 0.54 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001715/0.5108, allocations: 427.2 kB / 0.5404 GB, free: 144 kB / 410.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.002464/0.5132, allocations: 0.7735 MB / 0.5412 GB, free: 15.37 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001669/0.5149, allocations: 0.6507 MB / 0.5418 GB, free: 14.72 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5149, allocations: 0 / 0.5418 GB, free: 14.72 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.5159, allocations: 358.4 kB / 0.5422 GB, free: 14.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001696/0.5176, allocations: 351 kB / 0.5425 GB, free: 14.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002906/0.5205, allocations: 1.541 MB / 0.544 GB, free: 12.44 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006625/0.5212, allocations: 441.4 kB / 0.5444 GB, free: 11.98 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008889/0.5221, allocations: 293.9 kB / 0.5447 GB, free: 11.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/0.5223, allocations: 68.48 kB / 0.5448 GB, free: 11.63 MB / 426.7 MB Notification: Performance of SimCode: time 1.303e-06/0.5223, allocations: 0 / 0.5448 GB, free: 11.63 MB / 426.7 MB Notification: Performance of Templates: time 0.04007/0.5623, allocations: 20.52 MB / 0.5648 GB, free: 7.164 MB / 442.7 MB " [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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins/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: 6.410397827043198]