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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007791/0.007791, allocations: 100.1 kB / 15.87 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 193.7 kB / 16.79 MB, free: 6.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.1 MB / 222.7 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3799/0.3799, allocations: 43.5 MB / 313.5 MB, free: 8.488 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 67.91 kB / 382 MB, free: 8.707 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1561, allocations: 57.78 MB / 439.8 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.5008/0.6569, allocations: 181.8 MB / 0.6071 GB, free: 6.363 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0103/0.6673, allocations: 7.201 MB / 0.6141 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001297/0.6686, allocations: 27.75 kB / 0.6141 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001435/0.6701, allocations: 374.2 kB / 0.6145 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005586/0.6757, allocations: 1.838 MB / 0.6163 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004737/0.6805, allocations: 1.508 MB / 0.6177 GB, free: 11.42 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003737/0.6842, allocations: 3.121 MB / 0.6208 GB, free: 8.297 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00105/0.6853, allocations: 482.3 kB / 0.6213 GB, free: 7.828 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005302/0.6906, allocations: 1.778 MB / 0.623 GB, free: 6.051 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003434/0.6941, allocations: 1.534 MB / 0.6245 GB, free: 4.512 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002902/0.6944, allocations: 40 kB / 0.6245 GB, free: 4.473 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005066/0.6995, allocations: 2.019 MB / 0.6265 GB, free: 2.449 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007984/0.7003, allocations: 410.8 kB / 0.6269 GB, free: 2.047 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009845/0.7013, allocations: 0.5133 MB / 0.6274 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3988/1.1, allocations: 2.315 MB / 0.6297 GB, free: 9.75 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.194e-05/1.1, allocations: 0 / 0.6297 GB, free: 9.75 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.925e-06/1.1, allocations: 1.594 kB / 0.6297 GB, free: 9.75 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.306e-05/1.1, allocations: 0 / 0.6297 GB, free: 9.75 MB / 494.1 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.003367/1.104, allocations: 1.416 MB / 0.631 GB, free: 9.191 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/1.104, allocations: 14.3 kB / 0.6311 GB, free: 9.188 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/1.105, allocations: 281.4 kB / 0.6313 GB, free: 9.137 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009755/1.106, allocations: 0.6022 MB / 0.6319 GB, free: 8.859 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/1.106, allocations: 115.9 kB / 0.632 GB, free: 8.797 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/1.106, allocations: 67 kB / 0.6321 GB, free: 8.793 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/1.108, allocations: 1.266 MB / 0.6333 GB, free: 8.59 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/1.108, allocations: 7.438 kB / 0.6333 GB, free: 8.59 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/1.108, allocations: 31.97 kB / 0.6334 GB, free: 8.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.867e-05/1.108, allocations: 83.41 kB / 0.6334 GB, free: 8.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001534/1.11, allocations: 1.06 MB / 0.6345 GB, free: 8.574 MB / 494.1 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.00649/1.116, allocations: 4.968 MB / 0.6393 GB, free: 5.766 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005333/1.117, allocations: 303 kB / 0.6396 GB, free: 5.738 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002457/1.117, allocations: 146.4 kB / 0.6398 GB, free: 5.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001566/1.117, allocations: 139.1 kB / 0.6399 GB, free: 5.637 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/1.117, allocations: 39.44 kB / 0.6399 GB, free: 5.598 MB / 494.1 MB Notification: Performance of pre-optimization done (n=28): time 1.954e-06/1.118, allocations: 0 / 0.6399 GB, free: 5.598 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.006117/1.124, allocations: 1.817 MB / 0.6417 GB, free: 4.902 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.518e-05/1.124, allocations: 132.7 kB / 0.6418 GB, free: 4.746 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/1.125, allocations: 0.9371 MB / 0.6427 GB, free: 4.574 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/1.125, allocations: 30.83 kB / 0.6428 GB, free: 4.543 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003657/1.125, allocations: 0.5676 MB / 0.6433 GB, free: 4.227 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/1.126, allocations: 131.8 kB / 0.6434 GB, free: 4.152 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003044/1.126, allocations: 216.1 kB / 0.6437 GB, free: 4.121 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/1.126, allocations: 408 kB / 0.644 GB, free: 3.805 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003933/1.126, allocations: 274.6 kB / 0.6443 GB, free: 3.801 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000835/1.127, allocations: 0.8613 MB / 0.6451 GB, free: 3.047 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/1.128, allocations: 1.176 MB / 0.6463 GB, free: 2.297 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/1.128, allocations: 10.66 kB / 0.6463 GB, free: 2.293 MB / 494.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001953/1.13, allocations: 1.23 MB / 0.6475 GB, free: 2.191 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.163e-05/1.13, allocations: 17.34 kB / 0.6475 GB, free: 2.188 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.961e-05/1.13, allocations: 21.72 kB / 0.6475 GB, free: 2.188 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001348/1.132, allocations: 287.5 kB / 0.6478 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005984/1.132, allocations: 204.5 kB / 0.648 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001191/1.134, allocations: 0.9105 MB / 0.6489 GB, free: 17.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009026/1.135, allocations: 55.77 kB / 0.649 GB, free: 17.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-05/1.135, allocations: 71.3 kB / 0.649 GB, free: 17.64 MB / 0.4981 GB 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.0004793/1.135, allocations: 347.5 kB / 0.6494 GB, free: 17.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/1.135, allocations: 96.94 kB / 0.6494 GB, free: 17.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009253/1.136, allocations: 481.2 kB / 0.6499 GB, free: 17.39 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/1.136, allocations: 3.062 kB / 0.6499 GB, free: 17.39 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/1.136, allocations: 7.812 kB / 0.6499 GB, free: 17.38 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/1.136, allocations: 2.25 kB / 0.6499 GB, free: 17.38 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002253/1.139, allocations: 1.127 MB / 0.651 GB, free: 17.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/1.139, allocations: 2.859 kB / 0.651 GB, free: 17.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/1.14, allocations: 179.9 kB / 0.6512 GB, free: 17.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000103/1.14, allocations: 30.12 kB / 0.6512 GB, free: 17.04 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.195e-05/1.14, allocations: 9.141 kB / 0.6512 GB, free: 17.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00239/1.142, allocations: 2.68 MB / 0.6538 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.142, allocations: 8.891 kB / 0.6539 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/1.144, allocations: 0.7006 MB / 0.6545 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000481/1.144, allocations: 195.8 kB / 0.6547 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/1.144, allocations: 11.7 kB / 0.6547 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004804/1.145, allocations: 25.41 kB / 0.6548 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/1.145, allocations: 25.95 kB / 0.6548 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.617e-05/1.145, allocations: 18.14 kB / 0.6548 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001278/1.146, allocations: 0.6291 MB / 0.6554 GB, free: 14 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.146, allocations: 1.203 kB / 0.6554 GB, free: 14 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002454/1.149, allocations: 432.5 kB / 0.6558 GB, free: 13.96 MB / 0.4981 GB 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.002597/1.151, allocations: 0.7594 MB / 0.6566 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002035/1.153, allocations: 0.6705 MB / 0.6572 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/1.153, allocations: 2.156 kB / 0.6572 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001172/1.155, allocations: 383.8 kB / 0.6576 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00221/1.157, allocations: 407.8 kB / 0.658 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003417/1.16, allocations: 1.901 MB / 0.6598 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009147/1.161, allocations: 1.031 MB / 0.6608 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00156/1.163, allocations: 311.2 kB / 0.6611 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002896/1.163, allocations: 73.8 kB / 0.6612 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of SimCode: time 1.803e-06/1.163, allocations: 0 / 0.6612 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of Templates: time 0.04312/1.206, allocations: 21.4 MB / 0.6821 GB, free: 6.234 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (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) 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","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches