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.0007554/0.0007554, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008454/0.0008454, allocations: 176.9 kB / 16.91 MB, free: 6.648 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.5/1.5, allocations: 205.4 MB / 223.1 MB, free: 5.184 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.443/0.443, allocations: 43.56 MB / 315 MB, free: 8.965 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.0005704/0.0005704, allocations: 15.98 kB / 384.6 MB, free: 7.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.146, allocations: 58.85 MB / 443.5 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.5073/0.6533, allocations: 179.4 MB / 0.6083 GB, free: 7.773 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01161/0.665, allocations: 7.099 MB / 0.6152 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001508/0.6666, allocations: 19.81 kB / 0.6152 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.6679, allocations: 382.2 kB / 0.6156 GB, free: 272 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005584/0.6735, allocations: 1.832 MB / 0.6174 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004842/0.6784, allocations: 1.511 MB / 0.6188 GB, free: 12.94 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003905/0.6823, allocations: 3.117 MB / 0.6219 GB, free: 9.816 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009546/0.6833, allocations: 486.8 kB / 0.6223 GB, free: 9.344 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00547/0.6888, allocations: 1.77 MB / 0.6241 GB, free: 7.574 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003624/0.6924, allocations: 1.527 MB / 0.6256 GB, free: 6.043 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002621/0.6927, allocations: 36 kB / 0.6256 GB, free: 6.008 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00456/0.6973, allocations: 2.023 MB / 0.6276 GB, free: 3.98 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005924/0.6979, allocations: 410.9 kB / 0.628 GB, free: 3.578 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007738/0.6987, allocations: 0.5422 MB / 0.6285 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00371/0.7024, allocations: 2.29 MB / 0.6307 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.7024, allocations: 0 / 0.6307 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.7024, allocations: 0 / 0.6307 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.7025, allocations: 0 / 0.6307 GB, free: 0.7305 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.3627/1.065, allocations: 1.212 MB / 0.6319 GB, free: 51.48 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/1.065, allocations: 15.23 kB / 0.6319 GB, free: 51.47 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001759/1.067, allocations: 293.8 kB / 0.6322 GB, free: 51.42 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/1.068, allocations: 0.6068 MB / 0.6328 GB, free: 51.14 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/1.068, allocations: 115.2 kB / 0.6329 GB, free: 51.08 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/1.068, allocations: 70.14 kB / 0.633 GB, free: 51.07 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001963/1.07, allocations: 1.269 MB / 0.6342 GB, free: 50.87 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/1.07, allocations: 4.438 kB / 0.6342 GB, free: 50.87 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/1.071, allocations: 33.2 kB / 0.6342 GB, free: 50.87 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001144/1.071, allocations: 80.83 kB / 0.6343 GB, free: 50.87 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001639/1.072, allocations: 1.052 MB / 0.6354 GB, free: 50.86 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.006134/1.078, allocations: 4.915 MB / 0.6402 GB, free: 48.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005427/1.079, allocations: 302.8 kB / 0.6404 GB, free: 48.06 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/1.079, allocations: 147.5 kB / 0.6406 GB, free: 48.05 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/1.079, allocations: 141 kB / 0.6407 GB, free: 47.96 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/1.079, allocations: 44.75 kB / 0.6408 GB, free: 47.92 MB / 494.1 MB Notification: Performance of pre-optimization done (n=28): time 3.346e-06/1.079, allocations: 0 / 0.6408 GB, free: 47.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.006066/1.086, allocations: 1.735 MB / 0.6425 GB, free: 47.28 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/1.086, allocations: 139.6 kB / 0.6426 GB, free: 47.12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/1.087, allocations: 0.9378 MB / 0.6435 GB, free: 46.95 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.068e-05/1.087, allocations: 30.92 kB / 0.6435 GB, free: 46.92 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000343/1.087, allocations: 0.5656 MB / 0.6441 GB, free: 46.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.224e-05/1.087, allocations: 137.3 kB / 0.6442 GB, free: 46.53 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/1.087, allocations: 89.25 kB / 0.6443 GB, free: 46.51 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/1.087, allocations: 401.5 kB / 0.6447 GB, free: 46.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004286/1.088, allocations: 271.2 kB / 0.6449 GB, free: 46.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007794/1.089, allocations: 0.8664 MB / 0.6458 GB, free: 45.45 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/1.09, allocations: 1.174 MB / 0.6469 GB, free: 44.74 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/1.09, allocations: 15.22 kB / 0.6469 GB, free: 44.74 MB / 494.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001754/1.092, allocations: 1.228 MB / 0.6481 GB, free: 44.65 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/1.092, allocations: 17.78 kB / 0.6482 GB, free: 44.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-05/1.092, allocations: 23.84 kB / 0.6482 GB, free: 44.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/1.093, allocations: 291.9 kB / 0.6485 GB, free: 44.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005308/1.094, allocations: 198.4 kB / 0.6487 GB, free: 44.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008801/1.095, allocations: 0.918 MB / 0.6496 GB, free: 44.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007999/1.095, allocations: 62.41 kB / 0.6496 GB, free: 44.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/1.095, allocations: 66.06 kB / 0.6497 GB, free: 44.11 MB / 494.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.0004676/1.096, allocations: 344.9 kB / 0.65 GB, free: 43.98 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/1.096, allocations: 93.62 kB / 0.6501 GB, free: 43.94 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009064/1.097, allocations: 487.1 kB / 0.6506 GB, free: 43.87 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/1.097, allocations: 3.25 kB / 0.6506 GB, free: 43.87 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/1.097, allocations: 1.938 kB / 0.6506 GB, free: 43.87 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/1.097, allocations: 2.672 kB / 0.6506 GB, free: 43.87 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001608/1.099, allocations: 1.129 MB / 0.6517 GB, free: 43.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/1.099, allocations: 4.031 kB / 0.6517 GB, free: 43.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009173/1.1, allocations: 181 kB / 0.6518 GB, free: 43.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-05/1.1, allocations: 22.84 kB / 0.6519 GB, free: 43.53 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.637e-05/1.1, allocations: 8.156 kB / 0.6519 GB, free: 43.53 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001409/1.101, allocations: 2.687 MB / 0.6545 GB, free: 40.95 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.101, allocations: 2.062 kB / 0.6545 GB, free: 40.95 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/1.102, allocations: 0.701 MB / 0.6552 GB, free: 40.74 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002611/1.102, allocations: 205.9 kB / 0.6554 GB, free: 40.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.849e-05/1.102, allocations: 9.844 kB / 0.6554 GB, free: 40.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004376/1.103, allocations: 21.45 kB / 0.6554 GB, free: 40.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.413e-05/1.103, allocations: 29.58 kB / 0.6554 GB, free: 40.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-05/1.103, allocations: 22.97 kB / 0.6555 GB, free: 40.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007213/1.104, allocations: 0.6287 MB / 0.6561 GB, free: 40.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.104, allocations: 0 / 0.6561 GB, free: 40.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001576/1.105, allocations: 430.8 kB / 0.6565 GB, free: 40.48 MB / 494.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.002325/1.108, allocations: 0.7638 MB / 0.6572 GB, free: 40.31 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001558/1.109, allocations: 0.664 MB / 0.6579 GB, free: 40.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/1.109, allocations: 3.719 kB / 0.6579 GB, free: 40.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008951/1.11, allocations: 384.8 kB / 0.6582 GB, free: 40.18 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002118/1.112, allocations: 402.2 kB / 0.6586 GB, free: 40.15 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002576/1.115, allocations: 1.982 MB / 0.6606 GB, free: 39.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005491/1.115, allocations: 1.036 MB / 0.6616 GB, free: 38.48 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001085/1.117, allocations: 311.5 kB / 0.6619 GB, free: 38.43 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002425/1.117, allocations: 73.34 kB / 0.6619 GB, free: 38.41 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/1.117, allocations: 0 / 0.6619 GB, free: 38.41 MB / 494.1 MB Notification: Performance of Templates: time 0.04099/1.158, allocations: 21.32 MB / 0.6828 GB, free: 28.25 MB / 494.1 MB 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","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches