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.001196/0.001196, allocations: 108.7 kB / 17.03 MB, free: 5.664 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.001182/0.001182, allocations: 190.9 kB / 17.96 MB, free: 5.066 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.537/1.537, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.237/0.237, allocations: 43.52 MB / 314.7 MB, free: 480 kB / 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.001653/0.001654, allocations: 68.67 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1412, allocations: 57.79 MB / 442 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.5697/0.7109, allocations: 183.2 MB / 0.6105 GB, free: 7.305 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01041/0.7214, allocations: 6.971 MB / 0.6174 GB, free: 1.926 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001276/0.7227, allocations: 20.44 kB / 0.6174 GB, free: 1.918 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.7241, allocations: 414.3 kB / 0.6178 GB, free: 1.582 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006532/0.7307, allocations: 2.014 MB / 0.6197 GB, free: 116 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0049/0.7356, allocations: 1.68 MB / 0.6214 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003377/0.739, allocations: 2.101 MB / 0.6234 GB, free: 13.74 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.7401, allocations: 0.5387 MB / 0.624 GB, free: 13.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005103/0.7453, allocations: 1.881 MB / 0.6258 GB, free: 12.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003107/0.7484, allocations: 1.464 MB / 0.6272 GB, free: 10.69 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002619/0.7487, allocations: 80 kB / 0.6273 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004294/0.753, allocations: 1.567 MB / 0.6288 GB, free: 9.039 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006395/0.7536, allocations: 442.8 kB / 0.6292 GB, free: 8.605 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008187/0.7545, allocations: 0.5562 MB / 0.6298 GB, free: 8.047 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003963/0.7584, allocations: 2.189 MB / 0.6319 GB, free: 5.852 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.7585, allocations: 0 / 0.6319 GB, free: 5.852 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.7585, allocations: 0 / 0.6319 GB, free: 5.852 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.325e-05/0.7585, allocations: 4 kB / 0.6319 GB, free: 5.848 MB / 446.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.003163/0.7617, allocations: 1.41 MB / 0.6333 GB, free: 4.387 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.7617, allocations: 19.83 kB / 0.6333 GB, free: 4.367 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001472/0.7632, allocations: 282.5 kB / 0.6336 GB, free: 4.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.7646, allocations: 0.6248 MB / 0.6342 GB, free: 3.426 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001963/0.7648, allocations: 120.6 kB / 0.6343 GB, free: 3.297 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.7649, allocations: 75.83 kB / 0.6344 GB, free: 3.223 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002547/0.7675, allocations: 1.258 MB / 0.6356 GB, free: 1.898 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/0.7675, allocations: 7.938 kB / 0.6356 GB, free: 1.891 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.7676, allocations: 28 kB / 0.6357 GB, free: 1.863 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002848/0.7679, allocations: 85.27 kB / 0.6357 GB, free: 1.781 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00185/0.7698, allocations: 1.055 MB / 0.6368 GB, free: 0.7227 MB / 446.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.009011/0.7788, allocations: 4.972 MB / 0.6416 GB, free: 11.45 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005804/0.7794, allocations: 308 kB / 0.6419 GB, free: 11.14 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/0.7797, allocations: 148.7 kB / 0.6421 GB, free: 10.99 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000202/0.7799, allocations: 131 kB / 0.6422 GB, free: 10.84 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/0.7799, allocations: 38.56 kB / 0.6422 GB, free: 10.8 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.655e-06/0.78, allocations: 3.938 kB / 0.6422 GB, free: 10.79 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.006901/0.7869, allocations: 1.827 MB / 0.644 GB, free: 8.883 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001938/0.7871, allocations: 132.5 kB / 0.6441 GB, free: 8.723 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/0.7885, allocations: 0.931 MB / 0.645 GB, free: 7.766 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.977e-05/0.7886, allocations: 37.7 kB / 0.6451 GB, free: 7.723 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000543/0.7891, allocations: 0.5633 MB / 0.6456 GB, free: 7.148 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.7893, allocations: 134.3 kB / 0.6458 GB, free: 7.016 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002895/0.7896, allocations: 218.6 kB / 0.646 GB, free: 6.797 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002074/0.7898, allocations: 406.7 kB / 0.6464 GB, free: 6.391 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004311/0.7902, allocations: 274.5 kB / 0.6466 GB, free: 6.125 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008532/0.7911, allocations: 0.8676 MB / 0.6475 GB, free: 4.969 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/0.7925, allocations: 1.173 MB / 0.6486 GB, free: 3.52 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.7925, allocations: 7.938 kB / 0.6486 GB, free: 3.512 MB / 462.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002036/0.7946, allocations: 1.235 MB / 0.6498 GB, free: 2.266 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.7946, allocations: 17 kB / 0.6498 GB, free: 2.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.416e-05/0.7946, allocations: 20 kB / 0.6499 GB, free: 2.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001251/0.7959, allocations: 284.7 kB / 0.6501 GB, free: 1.949 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005769/0.7965, allocations: 203.6 kB / 0.6503 GB, free: 1.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001192/0.7977, allocations: 0.9142 MB / 0.6512 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007597/0.7985, allocations: 47.98 kB / 0.6513 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.713e-05/0.7986, allocations: 64.06 kB / 0.6513 GB, free: 0.7031 MB / 462.1 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.0004923/0.7991, allocations: 349.1 kB / 0.6517 GB, free: 360 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.7992, allocations: 94.91 kB / 0.6517 GB, free: 264 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009163/0.8001, allocations: 491.3 kB / 0.6522 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.8002, allocations: 4 kB / 0.6522 GB, free: 15.76 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.8002, allocations: 3.938 kB / 0.6522 GB, free: 15.76 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.8002, allocations: 3.984 kB / 0.6522 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001866/0.8021, allocations: 1.125 MB / 0.6533 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.8021, allocations: 0 / 0.6533 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00097/0.8031, allocations: 187.8 kB / 0.6535 GB, free: 14.39 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.792e-05/0.8032, allocations: 20.84 kB / 0.6535 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/0.8032, allocations: 8 kB / 0.6535 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002546/0.8058, allocations: 2.881 MB / 0.6563 GB, free: 11.2 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.8058, allocations: 0 / 0.6563 GB, free: 11.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.8069, allocations: 0.6925 MB / 0.657 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000393/0.8073, allocations: 211.8 kB / 0.6572 GB, free: 10.25 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.8074, allocations: 4 kB / 0.6572 GB, free: 10.25 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004046/0.8078, allocations: 15.98 kB / 0.6572 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.8079, allocations: 23.97 kB / 0.6573 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.484e-05/0.808, allocations: 28.05 kB / 0.6573 GB, free: 10.18 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009618/0.8089, allocations: 0.6165 MB / 0.6579 GB, free: 9.555 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.809, allocations: 0 / 0.6579 GB, free: 9.555 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001635/0.8106, allocations: 423.9 kB / 0.6583 GB, free: 9.141 MB / 478.1 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.00215/0.8128, allocations: 0.7542 MB / 0.659 GB, free: 8.387 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001362/0.8141, allocations: 0.6737 MB / 0.6597 GB, free: 7.719 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.8142, allocations: 0 / 0.6597 GB, free: 7.719 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008887/0.815, allocations: 368.2 kB / 0.66 GB, free: 7.348 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001812/0.8169, allocations: 434.1 kB / 0.6605 GB, free: 6.922 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.8194, allocations: 1.617 MB / 0.662 GB, free: 5.273 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007263/0.8201, allocations: 1.028 MB / 0.663 GB, free: 4.215 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008359/0.821, allocations: 303.3 kB / 0.6633 GB, free: 3.918 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/0.8211, allocations: 79.42 kB / 0.6634 GB, free: 3.84 MB / 478.1 MB Notification: Performance of SimCode: time 4.11e-07/0.8212, allocations: 0 / 0.6634 GB, free: 3.84 MB / 478.1 MB Notification: Performance of Templates: time 0.0357/0.8569, allocations: 22.6 MB / 0.6855 GB, free: 13.25 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches