Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001221/0.001221, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001361/0.001361, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 242.2 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.225/0.225, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 69.14 kB / 408.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1151, allocations: 60.82 MB / 469.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4152/0.5302, allocations: 177.3 MB / 0.6314 GB, free: 15.45 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008248/0.5385, allocations: 6.511 MB / 0.6377 GB, free: 8.914 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006174/0.5392, allocations: 19.88 kB / 0.6377 GB, free: 8.895 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.5403, allocations: 417.6 kB / 0.6381 GB, free: 8.484 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003711/0.544, allocations: 1.736 MB / 0.6398 GB, free: 6.746 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003364/0.5474, allocations: 1.489 MB / 0.6413 GB, free: 5.266 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002351/0.5498, allocations: 2.107 MB / 0.6433 GB, free: 3.152 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007355/0.5505, allocations: 0.5444 MB / 0.6439 GB, free: 2.605 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003287/0.5538, allocations: 1.702 MB / 0.6455 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002406/0.5562, allocations: 1.468 MB / 0.647 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002073/0.5565, allocations: 80 kB / 0.6471 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002659/0.5591, allocations: 1.376 MB / 0.6484 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004268/0.5596, allocations: 442.9 kB / 0.6488 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006874/0.5603, allocations: 0.5562 MB / 0.6494 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002824/0.5631, allocations: 2.081 MB / 0.6514 GB, free: 10.89 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.5631, allocations: 8 kB / 0.6514 GB, free: 10.88 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5631, allocations: 3.938 kB / 0.6514 GB, free: 10.88 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.28e-05/0.5632, allocations: 0 / 0.6514 GB, free: 10.88 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.002851/0.566, allocations: 1.45 MB / 0.6528 GB, free: 9.379 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.5661, allocations: 16.02 kB / 0.6528 GB, free: 9.363 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/0.5674, allocations: 278.6 kB / 0.6531 GB, free: 9.09 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009299/0.5684, allocations: 0.6052 MB / 0.6537 GB, free: 8.445 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/0.5685, allocations: 112.6 kB / 0.6538 GB, free: 8.324 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.5686, allocations: 67.98 kB / 0.6539 GB, free: 8.258 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/0.5704, allocations: 1.271 MB / 0.6551 GB, free: 6.914 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.5704, allocations: 4 kB / 0.6551 GB, free: 6.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/0.5706, allocations: 28 kB / 0.6551 GB, free: 6.883 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.564e-05/0.5707, allocations: 89.19 kB / 0.6552 GB, free: 6.797 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/0.5722, allocations: 1.055 MB / 0.6563 GB, free: 5.742 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.006571/0.5788, allocations: 4.943 MB / 0.6611 GB, free: 0.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005408/0.5793, allocations: 314.9 kB / 0.6614 GB, free: 192 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002377/0.5796, allocations: 142.7 kB / 0.6615 GB, free: 48 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/0.5797, allocations: 97.09 kB / 0.6616 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.5798, allocations: 34.56 kB / 0.6616 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=28): time 2.434e-06/0.5798, allocations: 7.938 kB / 0.6616 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.006613/0.5864, allocations: 1.813 MB / 0.6634 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.986e-05/0.5865, allocations: 132.5 kB / 0.6635 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.5878, allocations: 0.9387 MB / 0.6645 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.874e-05/0.5879, allocations: 41.64 kB / 0.6645 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005297/0.5884, allocations: 0.5633 MB / 0.6651 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.5886, allocations: 134.3 kB / 0.6652 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003402/0.5889, allocations: 214.6 kB / 0.6654 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002962/0.5893, allocations: 406.7 kB / 0.6658 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004727/0.5898, allocations: 278.5 kB / 0.666 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/0.5908, allocations: 0.8639 MB / 0.6669 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001511/0.5924, allocations: 1.173 MB / 0.668 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.5924, allocations: 12 kB / 0.668 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00195/0.5943, allocations: 1.231 MB / 0.6692 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.5944, allocations: 19.94 kB / 0.6693 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.639e-05/0.5944, allocations: 20.91 kB / 0.6693 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00132/0.5957, allocations: 296.4 kB / 0.6696 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006062/0.5964, allocations: 203.7 kB / 0.6698 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/0.5976, allocations: 0.9151 MB / 0.6706 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007296/0.5984, allocations: 43.98 kB / 0.6707 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.281e-05/0.5985, allocations: 68 kB / 0.6708 GB, free: 5.781 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.0004587/0.5989, allocations: 341.2 kB / 0.6711 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.5991, allocations: 94.91 kB / 0.6712 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00113/0.6002, allocations: 0.5203 MB / 0.6717 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.6002, allocations: 4.047 kB / 0.6717 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.6003, allocations: 7.984 kB / 0.6717 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.6003, allocations: 0 / 0.6717 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/0.6021, allocations: 1.129 MB / 0.6728 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.6021, allocations: 3.938 kB / 0.6728 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009614/0.603, allocations: 183.8 kB / 0.673 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001135/0.6032, allocations: 28.84 kB / 0.673 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-05/0.6032, allocations: 11.94 kB / 0.673 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002144/0.6053, allocations: 2.865 MB / 0.6758 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.6054, allocations: 160 / 0.6758 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.6066, allocations: 0.6994 MB / 0.6765 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003403/0.6069, allocations: 200 kB / 0.6767 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.6071, allocations: 11.94 kB / 0.6767 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004544/0.6075, allocations: 15.98 kB / 0.6767 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.55e-05/0.6076, allocations: 28.03 kB / 0.6767 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.486e-05/0.6076, allocations: 19.98 kB / 0.6768 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009526/0.6086, allocations: 0.6204 MB / 0.6774 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6086, allocations: 0 / 0.6774 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001364/0.61, allocations: 391.8 kB / 0.6777 GB, free: 14.21 MB / 0.5137 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.001987/0.612, allocations: 0.6495 MB / 0.6784 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00157/0.6136, allocations: 0.7204 MB / 0.6791 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.6136, allocations: 0 / 0.6791 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009627/0.6145, allocations: 379.7 kB / 0.6794 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002171/0.6167, allocations: 434.1 kB / 0.6798 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002899/0.6196, allocations: 1.625 MB / 0.6814 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006539/0.6203, allocations: 1.024 MB / 0.6824 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001156/0.6215, allocations: 390.4 kB / 0.6828 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/0.6217, allocations: 87.36 kB / 0.6829 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of SimCode: time 3.486e-06/0.6217, allocations: 0 / 0.6829 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of Templates: time 0.03327/0.655, allocations: 20.99 MB / 0.7034 GB, free: 4.109 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches