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.001449/0.00145, allocations: 104.3 kB / 16.27 MB, free: 5.93 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.001661/0.001662, allocations: 193.7 kB / 17.2 MB, free: 5.574 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.519/1.519, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2408/0.2408, allocations: 43.52 MB / 313.9 MB, free: 0.5352 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.001655/0.001655, allocations: 67.45 kB / 382.7 MB, free: 56.78 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1451, allocations: 57.8 MB / 440.5 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.5403/0.6855, allocations: 183.2 MB / 0.6091 GB, free: 7.562 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01004/0.6955, allocations: 6.973 MB / 0.6159 GB, free: 2.52 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009211/0.6965, allocations: 18.03 kB / 0.616 GB, free: 2.512 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.6978, allocations: 422.7 kB / 0.6164 GB, free: 2.168 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005695/0.7035, allocations: 2.015 MB / 0.6183 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005262/0.7088, allocations: 1.676 MB / 0.62 GB, free: 15.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004039/0.7128, allocations: 2.105 MB / 0.622 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001273/0.7141, allocations: 0.5363 MB / 0.6225 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005226/0.7194, allocations: 1.881 MB / 0.6244 GB, free: 12.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003013/0.7224, allocations: 1.468 MB / 0.6258 GB, free: 11.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002425/0.7227, allocations: 76 kB / 0.6259 GB, free: 11.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003924/0.7266, allocations: 1.591 MB / 0.6274 GB, free: 9.543 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000541/0.7272, allocations: 446.8 kB / 0.6279 GB, free: 9.105 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007736/0.728, allocations: 0.5562 MB / 0.6284 GB, free: 8.547 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003872/0.7318, allocations: 2.209 MB / 0.6306 GB, free: 6.332 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.7319, allocations: 0 / 0.6306 GB, free: 6.332 MB / 446.1 MB Notification: Performance of FrontEnd: time 5.441e-06/0.7319, allocations: 0 / 0.6306 GB, free: 6.332 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.7319, allocations: 3.938 kB / 0.6306 GB, free: 6.328 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.003296/0.7352, allocations: 1.414 MB / 0.632 GB, free: 4.863 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.7353, allocations: 19.83 kB / 0.632 GB, free: 4.844 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001496/0.7368, allocations: 282.5 kB / 0.6322 GB, free: 4.566 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.738, allocations: 0.6014 MB / 0.6328 GB, free: 3.926 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.7381, allocations: 120.6 kB / 0.6329 GB, free: 3.797 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.7382, allocations: 63.91 kB / 0.633 GB, free: 3.734 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001968/0.7402, allocations: 1.265 MB / 0.6342 GB, free: 2.402 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.7402, allocations: 3.984 kB / 0.6342 GB, free: 2.398 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/0.7404, allocations: 35.98 kB / 0.6343 GB, free: 2.363 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001089/0.7405, allocations: 89.14 kB / 0.6344 GB, free: 2.277 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001616/0.7421, allocations: 1.043 MB / 0.6354 GB, free: 1.23 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.006712/0.7488, allocations: 4.985 MB / 0.6402 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005235/0.7494, allocations: 312 kB / 0.6405 GB, free: 11.63 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002346/0.7496, allocations: 144.8 kB / 0.6407 GB, free: 11.49 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001602/0.7498, allocations: 146.9 kB / 0.6408 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.7498, allocations: 35.03 kB / 0.6409 GB, free: 11.28 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.164e-06/0.7498, allocations: 0 / 0.6409 GB, free: 11.28 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.006747/0.7566, allocations: 1.823 MB / 0.6426 GB, free: 9.371 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.673e-05/0.7567, allocations: 132.5 kB / 0.6428 GB, free: 9.211 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.7579, allocations: 0.9349 MB / 0.6437 GB, free: 8.25 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.61e-05/0.7579, allocations: 37.7 kB / 0.6437 GB, free: 8.207 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000408/0.7584, allocations: 0.5594 MB / 0.6443 GB, free: 7.637 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.7585, allocations: 130.3 kB / 0.6444 GB, free: 7.508 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002695/0.7587, allocations: 214.6 kB / 0.6446 GB, free: 7.293 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001992/0.759, allocations: 410.7 kB / 0.645 GB, free: 6.883 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004702/0.7594, allocations: 278.4 kB / 0.6452 GB, free: 6.613 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009607/0.7604, allocations: 0.8639 MB / 0.6461 GB, free: 5.461 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/0.7618, allocations: 1.173 MB / 0.6472 GB, free: 4.012 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.7618, allocations: 4 kB / 0.6472 GB, free: 4.008 MB / 462.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002041/0.7639, allocations: 1.235 MB / 0.6484 GB, free: 2.762 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.7639, allocations: 12 kB / 0.6485 GB, free: 2.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.248e-05/0.7639, allocations: 20 kB / 0.6485 GB, free: 2.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001321/0.7653, allocations: 293.5 kB / 0.6488 GB, free: 2.441 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005666/0.7658, allocations: 203.6 kB / 0.6489 GB, free: 2.242 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/0.767, allocations: 0.9181 MB / 0.6498 GB, free: 1.301 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008804/0.7679, allocations: 48.05 kB / 0.6499 GB, free: 1.254 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.768, allocations: 68 kB / 0.65 GB, free: 1.188 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.0005672/0.7686, allocations: 341.2 kB / 0.6503 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/0.7688, allocations: 94.91 kB / 0.6504 GB, free: 0.75 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009983/0.7698, allocations: 487.8 kB / 0.6508 GB, free: 272 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.7698, allocations: 4 kB / 0.6508 GB, free: 268 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.7698, allocations: 0 / 0.6508 GB, free: 268 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.7698, allocations: 3.984 kB / 0.6508 GB, free: 264 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001837/0.7717, allocations: 1.136 MB / 0.652 GB, free: 15.06 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.7717, allocations: 0 / 0.652 GB, free: 15.06 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000955/0.7727, allocations: 179.8 kB / 0.6521 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.833e-05/0.7728, allocations: 24.84 kB / 0.6522 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.268e-05/0.7728, allocations: 19.94 kB / 0.6522 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002118/0.7749, allocations: 2.873 MB / 0.655 GB, free: 11.68 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.775, allocations: 0 / 0.655 GB, free: 11.68 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.7762, allocations: 0.6952 MB / 0.6557 GB, free: 10.96 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003175/0.7765, allocations: 211.8 kB / 0.6559 GB, free: 10.74 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.7766, allocations: 4 kB / 0.6559 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004038/0.777, allocations: 15.98 kB / 0.6559 GB, free: 10.72 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.357e-05/0.7771, allocations: 23.97 kB / 0.6559 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.414e-05/0.7771, allocations: 23.98 kB / 0.6559 GB, free: 10.67 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000799/0.7779, allocations: 0.6203 MB / 0.6565 GB, free: 10.04 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.778, allocations: 0 / 0.6565 GB, free: 10.04 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001721/0.7797, allocations: 432 kB / 0.6569 GB, free: 9.617 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.002401/0.7821, allocations: 0.761 MB / 0.6577 GB, free: 8.855 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001584/0.7837, allocations: 0.7084 MB / 0.6584 GB, free: 8.152 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.7837, allocations: 3.938 kB / 0.6584 GB, free: 8.148 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009662/0.7847, allocations: 372.7 kB / 0.6587 GB, free: 7.773 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001922/0.7866, allocations: 436.5 kB / 0.6591 GB, free: 7.344 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002716/0.7894, allocations: 1.626 MB / 0.6607 GB, free: 5.691 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007397/0.7901, allocations: 1.024 MB / 0.6617 GB, free: 4.637 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001038/0.7912, allocations: 313.2 kB / 0.662 GB, free: 4.332 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/0.7914, allocations: 75.44 kB / 0.6621 GB, free: 4.258 MB / 478.1 MB Notification: Performance of SimCode: time 1.533e-06/0.7914, allocations: 0 / 0.6621 GB, free: 4.258 MB / 478.1 MB Notification: Performance of Templates: time 0.03789/0.8293, allocations: 22.06 MB / 0.6837 GB, free: 14.21 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","/var/lib/jenkins/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