Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.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.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.X.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.X.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 110.4 kB / 17.09 MB, free: 5.957 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.001761/0.001762, allocations: 200.2 kB / 18.02 MB, free: 5.043 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.474/1.474, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.2236/0.2236, allocations: 43.54 MB / 314.8 MB, free: 456 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.001533/0.001533, allocations: 59.91 kB / 442.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1334, allocations: 57.79 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.5016/0.6351, allocations: 183.1 MB / 0.6674 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009385/0.6445, allocations: 6.961 MB / 0.6742 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008994/0.6454, allocations: 19.88 kB / 0.6742 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001376/0.6468, allocations: 433.5 kB / 0.6746 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005441/0.6523, allocations: 2.017 MB / 0.6766 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005086/0.6574, allocations: 1.702 MB / 0.6782 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003302/0.6607, allocations: 2.231 MB / 0.6804 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00141/0.6622, allocations: 0.7621 MB / 0.6812 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00451/0.6667, allocations: 1.939 MB / 0.683 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002976/0.6697, allocations: 1.578 MB / 0.6846 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003787/0.6701, allocations: 100 kB / 0.6847 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003646/0.6737, allocations: 1.598 MB / 0.6862 GB, free: 104 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0009276/0.6747, allocations: 0.6859 MB / 0.6869 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001602/0.6763, allocations: 0.7549 MB / 0.6877 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00446/0.6808, allocations: 2.743 MB / 0.6903 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.6808, allocations: 0 / 0.6903 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.442e-06/0.6808, allocations: 0 / 0.6903 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.909e-05/0.6809, allocations: 0 / 0.6903 GB, free: 11.91 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.00449/0.6854, allocations: 1.68 MB / 0.692 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.6854, allocations: 11.89 kB / 0.692 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001757/0.6872, allocations: 310.3 kB / 0.6923 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001678/0.6889, allocations: 0.7728 MB / 0.693 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001502/0.689, allocations: 149.3 kB / 0.6932 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002424/0.6893, allocations: 103.9 kB / 0.6933 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003128/0.6924, allocations: 1.841 MB / 0.6951 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.416e-05/0.6925, allocations: 0 / 0.6951 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001797/0.6927, allocations: 47.98 kB / 0.6951 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001134/0.6928, allocations: 97.89 kB / 0.6952 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003304/0.6961, allocations: 1.698 MB / 0.6969 GB, free: 5.031 MB / 0.5294 GB 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.01021/0.7063, allocations: 6.894 MB / 0.7036 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.7077, allocations: 0.877 MB / 0.7045 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006499/0.7084, allocations: 458.7 kB / 0.7049 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001891/0.7086, allocations: 143.7 kB / 0.705 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.7087, allocations: 43.12 kB / 0.7051 GB, free: 12.11 MB / 0.545 GB Notification: Performance of pre-optimization done (n=60): time 2.685e-06/0.7087, allocations: 3.938 kB / 0.7051 GB, free: 12.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=72): time 0.01124/0.7199, allocations: 4.116 MB / 0.7091 GB, free: 7.906 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/0.72, allocations: 111.5 kB / 0.7092 GB, free: 7.773 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/0.7217, allocations: 1.105 MB / 0.7103 GB, free: 6.645 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001551/0.7218, allocations: 41.7 kB / 0.7103 GB, free: 6.598 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000576/0.7224, allocations: 0.5262 MB / 0.7108 GB, free: 6.062 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000278/0.7227, allocations: 260.2 kB / 0.7111 GB, free: 5.805 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004064/0.7232, allocations: 210.5 kB / 0.7113 GB, free: 5.594 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.7233, allocations: 353.8 kB / 0.7116 GB, free: 5.242 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009707/0.7243, allocations: 0.5875 MB / 0.7122 GB, free: 4.652 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001212/0.7255, allocations: 0.8682 MB / 0.713 GB, free: 3.668 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002206/0.7277, allocations: 1.447 MB / 0.7145 GB, free: 2.109 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.7278, allocations: 4 kB / 0.7145 GB, free: 2.105 MB / 0.545 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003405/0.7312, allocations: 2.004 MB / 0.7164 GB, free: 92 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.7312, allocations: 8 kB / 0.7164 GB, free: 84 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/0.7312, allocations: 12 kB / 0.7164 GB, free: 72 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004607/0.7359, allocations: 1.324 MB / 0.7177 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005933/0.7365, allocations: 139.8 kB / 0.7179 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002862/0.7393, allocations: 1.928 MB / 0.7197 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009425/0.7403, allocations: 43.97 kB / 0.7198 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/0.7404, allocations: 67.98 kB / 0.7199 GB, free: 12.54 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (82): * Single equations (assignments): 81 * 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 {(9,35)} Notification: Performance of prepare postOptimizeDAE: time 0.0006854/0.7411, allocations: 393.5 kB / 0.7202 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003109/0.7414, allocations: 110.7 kB / 0.7203 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002528/0.744, allocations: 1.402 MB / 0.7217 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.744, allocations: 3.984 kB / 0.7217 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.744, allocations: 0 / 0.7217 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006349/0.7446, allocations: 327.7 kB / 0.722 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002619/0.7449, allocations: 31.98 kB / 0.7221 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009553/0.7459, allocations: 43.95 kB / 0.7221 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/0.7461, allocations: 60.56 kB / 0.7222 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003304/0.7494, allocations: 1.486 MB / 0.7236 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002948/0.7523, allocations: 1.99 MB / 0.7255 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008433/0.7532, allocations: 0.579 MB / 0.7261 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001175/0.7544, allocations: 0.793 MB / 0.7269 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of Backend: time 2.21e-07/0.7544, allocations: 384 / 0.7269 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005181/0.7596, allocations: 1.82 MB / 0.7287 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of SimCode: time 0.005959/0.7655, allocations: 3.328 MB / 0.7319 GB, free: 56 kB / 0.5606 GB Notification: Performance of Templates: time 0.325/1.091, allocations: 41.54 MB / 0.7725 GB, free: 218.6 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches