Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 107.2 kB / 18.4 MB, free: 4.5 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.001144/0.001144, allocations: 188.5 kB / 19.34 MB, free: 3.57 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.263/1.263, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.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.001852/0.001852, allocations: 51.92 kB / 329.3 MB, free: 3.242 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0768/0.07866, allocations: 46.62 MB / 375.9 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3303/0.409, allocations: 175.6 MB / 0.5386 GB, free: 15.4 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006115/0.4151, allocations: 3.844 MB / 0.5423 GB, free: 11.54 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001771/0.4153, allocations: 7.938 kB / 0.5423 GB, free: 11.53 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009126/0.4163, allocations: 234.7 kB / 0.5426 GB, free: 11.3 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008803/0.4172, allocations: 362.1 kB / 0.5429 GB, free: 10.95 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001861/0.419, allocations: 0.5476 MB / 0.5434 GB, free: 10.4 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001526/0.4206, allocations: 1.107 MB / 0.5445 GB, free: 9.289 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002448/0.4208, allocations: 108.7 kB / 0.5446 GB, free: 9.184 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003471/0.4243, allocations: 1.275 MB / 0.5459 GB, free: 7.91 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006031/0.425, allocations: 326.8 kB / 0.5462 GB, free: 7.59 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001385/0.4251, allocations: 44 kB / 0.5462 GB, free: 7.547 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.4265, allocations: 459.1 kB / 0.5467 GB, free: 7.098 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002823/0.4268, allocations: 235.3 kB / 0.5469 GB, free: 6.867 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003367/0.4271, allocations: 318.9 kB / 0.5472 GB, free: 6.555 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001678/0.4288, allocations: 1.075 MB / 0.5482 GB, free: 5.477 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.4288, allocations: 0 / 0.5482 GB, free: 5.477 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.4288, allocations: 4 kB / 0.5483 GB, free: 5.473 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.4289, allocations: 0 / 0.5483 GB, free: 5.473 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001674/0.4305, allocations: 0.8218 MB / 0.5491 GB, free: 4.602 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.4306, allocations: 8.031 kB / 0.5491 GB, free: 4.594 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009348/0.4315, allocations: 119.6 kB / 0.5492 GB, free: 4.477 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007329/0.4323, allocations: 393.2 kB / 0.5496 GB, free: 4.051 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.803e-05/0.4323, allocations: 29 kB / 0.5496 GB, free: 4.02 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.392e-05/0.4324, allocations: 36 kB / 0.5496 GB, free: 3.984 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/0.4338, allocations: 0.5576 MB / 0.5502 GB, free: 3.41 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.4338, allocations: 4.875 kB / 0.5502 GB, free: 3.406 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.83e-05/0.4339, allocations: 20 kB / 0.5502 GB, free: 3.387 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.4339, allocations: 12 kB / 0.5502 GB, free: 3.375 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.435, allocations: 446.4 kB / 0.5506 GB, free: 2.934 MB / 478.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.00451/0.4395, allocations: 2.124 MB / 0.5527 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003936/0.4399, allocations: 151.4 kB / 0.5528 GB, free: 496 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.4401, allocations: 80.83 kB / 0.5529 GB, free: 412 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.4401, allocations: 4 kB / 0.5529 GB, free: 408 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.4402, allocations: 34.56 kB / 0.553 GB, free: 364 kB / 478.1 MB Notification: Performance of pre-optimization done (n=18): time 2.054e-06/0.4402, allocations: 4 kB / 0.553 GB, free: 360 kB / 478.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.2268/0.667, allocations: 1.749 MB / 0.5547 GB, free: 8.844 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.74e-05/0.6671, allocations: 54.58 kB / 0.5547 GB, free: 8.781 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005517/0.6676, allocations: 487.4 kB / 0.5552 GB, free: 8.66 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.6677, allocations: 30.39 kB / 0.5552 GB, free: 8.629 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.6678, allocations: 331.6 kB / 0.5555 GB, free: 8.445 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.218e-05/0.6679, allocations: 92.69 kB / 0.5556 GB, free: 8.402 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.668, allocations: 122.4 kB / 0.5557 GB, free: 8.379 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.589e-05/0.6681, allocations: 353.4 kB / 0.5561 GB, free: 8.066 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/0.6683, allocations: 139.5 kB / 0.5562 GB, free: 8.066 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003223/0.6686, allocations: 438.9 kB / 0.5566 GB, free: 7.695 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005371/0.6692, allocations: 0.6077 MB / 0.5572 GB, free: 7.324 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.6692, allocations: 2.438 kB / 0.5572 GB, free: 7.324 MB / 478.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009181/0.6701, allocations: 0.6361 MB / 0.5578 GB, free: 7.246 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.6702, allocations: 10.81 kB / 0.5578 GB, free: 7.246 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.6702, allocations: 13.94 kB / 0.5579 GB, free: 7.246 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000171/0.6704, allocations: 60.5 kB / 0.5579 GB, free: 7.23 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004972/0.6709, allocations: 140.4 kB / 0.5581 GB, free: 7.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009591/0.6718, allocations: 1.939 MB / 0.5599 GB, free: 5.371 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003576/0.6722, allocations: 21.42 kB / 0.56 GB, free: 5.371 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.424e-05/0.6723, allocations: 40.92 kB / 0.56 GB, free: 5.371 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001756/0.6724, allocations: 216.4 kB / 0.5602 GB, free: 5.246 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.561e-05/0.6725, allocations: 52.91 kB / 0.5603 GB, free: 5.223 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005043/0.673, allocations: 291.4 kB / 0.5605 GB, free: 5.164 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003784/0.6734, allocations: 0.5217 MB / 0.5611 GB, free: 4.715 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.6734, allocations: 1.25 kB / 0.5611 GB, free: 4.715 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.265e-05/0.6735, allocations: 122.6 kB / 0.5612 GB, free: 4.598 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.325e-05/0.6736, allocations: 6.422 kB / 0.5612 GB, free: 4.598 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002655/0.6739, allocations: 13.36 kB / 0.5612 GB, free: 4.594 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.6739, allocations: 14.88 kB / 0.5612 GB, free: 4.594 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006409/0.6746, allocations: 318.6 kB / 0.5615 GB, free: 4.477 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005006/0.6751, allocations: 498.8 kB / 0.562 GB, free: 4.242 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001301/0.6752, allocations: 83.25 kB / 0.5621 GB, free: 4.242 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003388/0.6756, allocations: 329.5 kB / 0.5624 GB, free: 4.16 MB / 478.1 MB Notification: Performance of Backend: time 3.21e-07/0.6756, allocations: 1.062 kB / 0.5624 GB, free: 4.16 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002079/0.6777, allocations: 0.8479 MB / 0.5632 GB, free: 3.957 MB / 478.1 MB Notification: Performance of SimCode: time 0.001784/0.6795, allocations: 1.453 MB / 0.5646 GB, free: 3.109 MB / 478.1 MB Notification: Performance of Templates: time 0.01798/0.6974, allocations: 12.84 MB / 0.5772 GB, free: 2.215 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches