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.001379/0.001379, allocations: 114 kB / 17.09 MB, free: 5.828 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.00126/0.00126, allocations: 198.9 kB / 18.02 MB, free: 4.934 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.445/1.445, 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.2243/0.2243, allocations: 43.53 MB / 314.8 MB, free: 452 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.001528/0.001528, allocations: 65.31 kB / 442.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1356, allocations: 57.8 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.5048/0.6405, allocations: 183.2 MB / 0.6675 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008896/0.6494, allocations: 6.971 MB / 0.6743 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007783/0.6502, allocations: 19.88 kB / 0.6743 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001191/0.6514, allocations: 429.6 kB / 0.6747 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004372/0.6558, allocations: 2.005 MB / 0.6767 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004296/0.6601, allocations: 1.68 MB / 0.6783 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00261/0.6627, allocations: 2.11 MB / 0.6804 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008497/0.6636, allocations: 0.5361 MB / 0.6809 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003816/0.6674, allocations: 1.892 MB / 0.6828 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002605/0.67, allocations: 1.464 MB / 0.6842 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002567/0.6703, allocations: 76 kB / 0.6843 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003561/0.6739, allocations: 1.567 MB / 0.6858 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004271/0.6743, allocations: 442.9 kB / 0.6862 GB, free: 308 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006479/0.675, allocations: 0.56 MB / 0.6868 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003213/0.6782, allocations: 2.186 MB / 0.6889 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.6782, allocations: 4 kB / 0.6889 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6782, allocations: 0 / 0.6889 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.364e-05/0.6782, allocations: 0 / 0.6889 GB, free: 13.54 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.002794/0.681, allocations: 1.411 MB / 0.6903 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.6811, allocations: 15.84 kB / 0.6903 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/0.6825, allocations: 286.5 kB / 0.6906 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009834/0.6835, allocations: 0.6325 MB / 0.6912 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.6836, allocations: 116.6 kB / 0.6913 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.6837, allocations: 71.89 kB / 0.6914 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/0.6855, allocations: 1.26 MB / 0.6926 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.6855, allocations: 3.938 kB / 0.6926 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.6856, allocations: 36 kB / 0.6926 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.901e-05/0.6858, allocations: 77.27 kB / 0.6927 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/0.6873, allocations: 1.051 MB / 0.6937 GB, free: 8.418 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.00654/0.6938, allocations: 4.982 MB / 0.6986 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005063/0.6944, allocations: 304.2 kB / 0.6989 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002393/0.6946, allocations: 144.8 kB / 0.699 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001465/0.6948, allocations: 135 kB / 0.6992 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/0.6948, allocations: 42.5 kB / 0.6992 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 3.046e-06/0.6948, allocations: 0 / 0.6992 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.006377/0.7012, allocations: 1.819 MB / 0.701 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.716e-05/0.7013, allocations: 136.5 kB / 0.7011 GB, free: 420 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.7024, allocations: 0.9349 MB / 0.702 GB, free: 15.45 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/0.7025, allocations: 33.7 kB / 0.702 GB, free: 15.41 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004245/0.7029, allocations: 0.5633 MB / 0.7026 GB, free: 14.84 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.703, allocations: 138.3 kB / 0.7027 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000263/0.7033, allocations: 214.6 kB / 0.7029 GB, free: 14.49 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001951/0.7035, allocations: 402.7 kB / 0.7033 GB, free: 14.09 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004285/0.7039, allocations: 278.5 kB / 0.7036 GB, free: 13.81 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008886/0.7048, allocations: 0.8639 MB / 0.7044 GB, free: 12.67 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/0.7062, allocations: 1.176 MB / 0.7056 GB, free: 11.21 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.7062, allocations: 4 kB / 0.7056 GB, free: 11.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00184/0.708, allocations: 1.235 MB / 0.7068 GB, free: 9.965 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.708, allocations: 15.94 kB / 0.7068 GB, free: 9.949 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/0.7081, allocations: 20 kB / 0.7068 GB, free: 9.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001272/0.7094, allocations: 289.2 kB / 0.7071 GB, free: 9.645 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005584/0.7099, allocations: 211.6 kB / 0.7073 GB, free: 9.438 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/0.711, allocations: 0.9073 MB / 0.7082 GB, free: 8.504 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006705/0.7117, allocations: 43.98 kB / 0.7082 GB, free: 8.461 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.005e-05/0.7118, allocations: 68 kB / 0.7083 GB, free: 8.395 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.0004529/0.7122, allocations: 353.3 kB / 0.7086 GB, free: 8.039 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.7124, allocations: 94.91 kB / 0.7087 GB, free: 7.945 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008794/0.7133, allocations: 489.3 kB / 0.7092 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.7133, allocations: 3.984 kB / 0.7092 GB, free: 7.449 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.7133, allocations: 4 kB / 0.7092 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002504/0.7136, allocations: 196 kB / 0.7094 GB, free: 7.234 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/0.7137, allocations: 8 kB / 0.7094 GB, free: 7.227 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004259/0.7141, allocations: 15.98 kB / 0.7094 GB, free: 7.211 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.339e-05/0.7142, allocations: 23.91 kB / 0.7094 GB, free: 7.188 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001409/0.7156, allocations: 0.5456 MB / 0.71 GB, free: 6.629 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009839/0.7166, allocations: 0.7287 MB / 0.7107 GB, free: 5.883 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002307/0.7169, allocations: 152.5 kB / 0.7108 GB, free: 5.734 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007805/0.7177, allocations: 0.6282 MB / 0.7114 GB, free: 5.094 MB / 0.545 GB Notification: Performance of Backend: time 4.31e-07/0.7177, allocations: 4 kB / 0.7114 GB, free: 5.09 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003612/0.7213, allocations: 1.378 MB / 0.7128 GB, free: 3.719 MB / 0.545 GB Notification: Performance of SimCode: time 0.003495/0.7248, allocations: 2.34 MB / 0.7151 GB, free: 1.324 MB / 0.545 GB Notification: Performance of Templates: time 0.04111/0.7659, allocations: 24.97 MB / 0.7394 GB, free: 8.328 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