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.001298/0.001298, allocations: 106.8 kB / 17.09 MB, free: 5.984 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.001185/0.001185, allocations: 187.1 kB / 18.02 MB, free: 5.07 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.404/1.404, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.2175/0.2175, allocations: 43.53 MB / 314.8 MB, free: 464 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.001481/0.001481, allocations: 68.47 kB / 442.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1342, allocations: 57.8 MB / 0.4886 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4889/0.6231, allocations: 183.2 MB / 0.6675 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0104/0.6336, allocations: 6.978 MB / 0.6743 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008457/0.6344, allocations: 19.88 kB / 0.6743 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.6359, allocations: 429.7 kB / 0.6747 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005563/0.6415, allocations: 2.027 MB / 0.6767 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005012/0.6466, allocations: 1.695 MB / 0.6784 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003502/0.6501, allocations: 2.11 MB / 0.6804 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.6512, allocations: 0.5498 MB / 0.681 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005158/0.6564, allocations: 1.892 MB / 0.6828 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003364/0.6598, allocations: 1.468 MB / 0.6843 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004284/0.6602, allocations: 72 kB / 0.6843 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004106/0.6644, allocations: 1.567 MB / 0.6859 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000758/0.6651, allocations: 450.9 kB / 0.6863 GB, free: 172 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001403/0.6666, allocations: 0.5447 MB / 0.6868 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004502/0.6711, allocations: 2.204 MB / 0.689 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.6711, allocations: 0 / 0.689 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.833e-06/0.6711, allocations: 3.938 kB / 0.689 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.409e-05/0.6712, allocations: 0 / 0.689 GB, free: 13.41 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003842/0.675, allocations: 1.448 MB / 0.6904 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.783e-05/0.6751, allocations: 15.84 kB / 0.6904 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001667/0.6768, allocations: 291.1 kB / 0.6907 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.6781, allocations: 0.6369 MB / 0.6913 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.6783, allocations: 116.6 kB / 0.6914 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/0.6785, allocations: 63.98 kB / 0.6915 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002289/0.6808, allocations: 1.267 MB / 0.6927 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.187e-05/0.6808, allocations: 0 / 0.6927 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/0.681, allocations: 35.94 kB / 0.6927 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001058/0.6811, allocations: 81.2 kB / 0.6928 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.683, allocations: 1.047 MB / 0.6938 GB, free: 8.238 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.008008/0.691, allocations: 4.988 MB / 0.6987 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005936/0.6916, allocations: 306.7 kB / 0.699 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002697/0.6919, allocations: 148.8 kB / 0.6992 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001847/0.6921, allocations: 131 kB / 0.6993 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/0.6921, allocations: 42.56 kB / 0.6993 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 3.386e-06/0.6921, allocations: 0 / 0.6993 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.006874/0.699, allocations: 1.836 MB / 0.7011 GB, free: 380 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.994e-05/0.6991, allocations: 132.5 kB / 0.7012 GB, free: 216 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/0.7006, allocations: 0.939 MB / 0.7022 GB, free: 15.25 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.295e-05/0.7007, allocations: 37.7 kB / 0.7022 GB, free: 15.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004797/0.7011, allocations: 0.5808 MB / 0.7028 GB, free: 14.62 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/0.7013, allocations: 138.9 kB / 0.7029 GB, free: 14.48 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003479/0.7017, allocations: 218.8 kB / 0.7031 GB, free: 14.26 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002426/0.7019, allocations: 402.7 kB / 0.7035 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005088/0.7024, allocations: 274.5 kB / 0.7037 GB, free: 13.59 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009999/0.7034, allocations: 0.8678 MB / 0.7046 GB, free: 12.44 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001432/0.7049, allocations: 1.173 MB / 0.7057 GB, free: 10.99 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.619e-05/0.7049, allocations: 8 kB / 0.7057 GB, free: 10.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002195/0.7071, allocations: 1.24 MB / 0.707 GB, free: 9.734 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.7071, allocations: 12 kB / 0.707 GB, free: 9.723 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.17e-05/0.7072, allocations: 23.98 kB / 0.707 GB, free: 9.699 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/0.7085, allocations: 276.8 kB / 0.7073 GB, free: 9.426 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006025/0.7091, allocations: 207.6 kB / 0.7075 GB, free: 9.223 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/0.7103, allocations: 0.9152 MB / 0.7083 GB, free: 8.281 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007966/0.7111, allocations: 51.91 kB / 0.7084 GB, free: 8.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.306e-05/0.7112, allocations: 68 kB / 0.7085 GB, free: 8.164 MB / 0.545 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.0005017/0.7117, allocations: 353 kB / 0.7088 GB, free: 7.809 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/0.7119, allocations: 107.3 kB / 0.7089 GB, free: 7.703 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000971/0.7129, allocations: 477.3 kB / 0.7094 GB, free: 7.223 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.7129, allocations: 3.984 kB / 0.7094 GB, free: 7.219 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.7129, allocations: 0 / 0.7094 GB, free: 7.219 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003185/0.7132, allocations: 204.4 kB / 0.7096 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/0.7134, allocations: 8 kB / 0.7096 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004704/0.7138, allocations: 19.98 kB / 0.7096 GB, free: 6.973 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.494e-05/0.7139, allocations: 27.84 kB / 0.7096 GB, free: 6.945 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001447/0.7154, allocations: 0.5418 MB / 0.7101 GB, free: 6.391 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001013/0.7164, allocations: 0.737 MB / 0.7109 GB, free: 5.637 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002527/0.7167, allocations: 156.4 kB / 0.711 GB, free: 5.484 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000965/0.7177, allocations: 0.6243 MB / 0.7116 GB, free: 4.848 MB / 0.545 GB Notification: Performance of Backend: time 1.112e-06/0.7177, allocations: 0 / 0.7116 GB, free: 4.848 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004272/0.7219, allocations: 1.385 MB / 0.713 GB, free: 3.465 MB / 0.545 GB Notification: Performance of SimCode: time 0.003982/0.7259, allocations: 2.368 MB / 0.7153 GB, free: 1.043 MB / 0.545 GB Notification: Performance of Templates: time 0.04156/0.7675, allocations: 24.76 MB / 0.7395 GB, free: 8.242 MB / 0.5762 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/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