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.001165/0.001166, allocations: 105.4 kB / 18.4 MB, free: 4.699 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.001592/0.001592, allocations: 188 kB / 19.34 MB, free: 3.77 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.363/1.363, allocations: 222.9 MB / 243 MB, free: 15.07 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.2184/0.2184, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 59.11 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1433, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4957/0.639, allocations: 177.3 MB / 0.6328 GB, free: 14.93 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01019/0.6492, allocations: 6.514 MB / 0.6392 GB, free: 8.398 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008741/0.6501, allocations: 19.88 kB / 0.6392 GB, free: 8.379 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.6513, allocations: 413.7 kB / 0.6396 GB, free: 7.973 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004478/0.6558, allocations: 1.743 MB / 0.6413 GB, free: 6.23 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003918/0.6597, allocations: 1.476 MB / 0.6427 GB, free: 4.762 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00299/0.6627, allocations: 2.114 MB / 0.6448 GB, free: 2.641 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008435/0.6636, allocations: 0.544 MB / 0.6453 GB, free: 2.094 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004012/0.6676, allocations: 1.702 MB / 0.647 GB, free: 396 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002783/0.6704, allocations: 1.468 MB / 0.6484 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001889/0.6706, allocations: 75.94 kB / 0.6485 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002897/0.6735, allocations: 1.306 MB / 0.6498 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005854/0.6741, allocations: 446.8 kB / 0.6502 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007397/0.6749, allocations: 0.5524 MB / 0.6507 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003134/0.678, allocations: 2.061 MB / 0.6527 GB, free: 10.47 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.6781, allocations: 0 / 0.6527 GB, free: 10.47 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6781, allocations: 4 kB / 0.6527 GB, free: 10.47 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.683e-05/0.6781, allocations: 0 / 0.6527 GB, free: 10.47 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.003339/0.6814, allocations: 1.453 MB / 0.6542 GB, free: 8.965 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.6815, allocations: 11.97 kB / 0.6542 GB, free: 8.953 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001493/0.683, allocations: 278.6 kB / 0.6544 GB, free: 8.68 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.6842, allocations: 0.6325 MB / 0.6551 GB, free: 8.008 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001527/0.6844, allocations: 116.6 kB / 0.6552 GB, free: 7.883 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.6845, allocations: 67.98 kB / 0.6552 GB, free: 7.816 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001968/0.6865, allocations: 1.263 MB / 0.6565 GB, free: 6.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.6865, allocations: 8 kB / 0.6565 GB, free: 6.473 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.649e-05/0.6866, allocations: 28 kB / 0.6565 GB, free: 6.445 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001046/0.6867, allocations: 85.2 kB / 0.6566 GB, free: 6.363 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001634/0.6884, allocations: 1.055 MB / 0.6576 GB, free: 5.309 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.006831/0.6952, allocations: 4.944 MB / 0.6624 GB, free: 68 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000526/0.6957, allocations: 300 kB / 0.6627 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002414/0.696, allocations: 146.7 kB / 0.6629 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/0.6961, allocations: 97.11 kB / 0.663 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.6962, allocations: 42.55 kB / 0.663 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=28): time 3.928e-06/0.6962, allocations: 0 / 0.663 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.006192/0.7024, allocations: 1.818 MB / 0.6648 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.556e-05/0.7024, allocations: 136.5 kB / 0.6649 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.7036, allocations: 0.9426 MB / 0.6658 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.258e-05/0.7036, allocations: 33.7 kB / 0.6659 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003965/0.704, allocations: 0.5672 MB / 0.6664 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.7042, allocations: 134.3 kB / 0.6665 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002992/0.7045, allocations: 218.6 kB / 0.6667 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.7046, allocations: 398.7 kB / 0.6671 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004413/0.7051, allocations: 282.4 kB / 0.6674 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008736/0.706, allocations: 0.8639 MB / 0.6682 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/0.7073, allocations: 1.176 MB / 0.6694 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.258e-06/0.7073, allocations: 8 kB / 0.6694 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001847/0.7092, allocations: 1.24 MB / 0.6706 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.7092, allocations: 16.03 kB / 0.6706 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/0.7092, allocations: 20 kB / 0.6706 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001241/0.7105, allocations: 288.6 kB / 0.6709 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005649/0.711, allocations: 199.6 kB / 0.6711 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001058/0.7121, allocations: 0.9289 MB / 0.672 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006768/0.7128, allocations: 40 kB / 0.672 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.589e-05/0.7129, allocations: 71.98 kB / 0.6721 GB, free: 5.348 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.0004248/0.7133, allocations: 337.2 kB / 0.6724 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.7135, allocations: 94.91 kB / 0.6725 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.7145, allocations: 0.5128 MB / 0.673 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.7145, allocations: 4 kB / 0.673 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.7145, allocations: 0 / 0.673 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.7145, allocations: 3.984 kB / 0.673 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/0.7163, allocations: 1.129 MB / 0.6741 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-06/0.7163, allocations: 5 kB / 0.6741 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009714/0.7173, allocations: 187.7 kB / 0.6743 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.157e-05/0.7173, allocations: 24.88 kB / 0.6743 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/0.7174, allocations: 11.94 kB / 0.6744 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002112/0.7195, allocations: 2.873 MB / 0.6772 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.7195, allocations: 0 / 0.6772 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.7206, allocations: 0.7001 MB / 0.6778 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003588/0.721, allocations: 200.1 kB / 0.678 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.7211, allocations: 8 kB / 0.678 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004276/0.7216, allocations: 15.98 kB / 0.6781 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.93e-05/0.7216, allocations: 23.97 kB / 0.6781 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.39e-05/0.7217, allocations: 23.98 kB / 0.6781 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000881/0.7226, allocations: 0.6204 MB / 0.6787 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.703e-06/0.7226, allocations: 0 / 0.6787 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00145/0.724, allocations: 391.8 kB / 0.6791 GB, free: 13.79 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.001674/0.7257, allocations: 0.6349 MB / 0.6797 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001338/0.7271, allocations: 0.6775 MB / 0.6804 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.7271, allocations: 0 / 0.6804 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009201/0.728, allocations: 379.7 kB / 0.6807 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001751/0.7298, allocations: 424.1 kB / 0.6811 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00264/0.7324, allocations: 1.612 MB / 0.6827 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007629/0.7332, allocations: 1.028 MB / 0.6837 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001038/0.7343, allocations: 382.1 kB / 0.6841 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002409/0.7345, allocations: 79.42 kB / 0.6842 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of SimCode: time 4e-07/0.7345, allocations: 0 / 0.6842 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of Templates: time 0.03577/0.7703, allocations: 21.55 MB / 0.7052 GB, free: 3.191 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins1/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