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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.834/1.834, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008333/0.0008333, allocations: 82.31 kB / 261.7 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2215/0.2215, allocations: 43.48 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.809e-05/1.81e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1241, allocations: 58.85 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.228/2.352, allocations: 0.8263 GB / 1.292 GB, free: 178.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/2.352, allocations: 96.39 kB / 1.292 GB, free: 178.2 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.359/4.711, allocations: 0.7272 GB / 2.02 GB, free: 24.32 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.274e-06/4.711, allocations: 4 kB / 2.02 GB, free: 24.32 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.331e-05/4.712, allocations: 28.14 kB / 2.02 GB, free: 24.29 MB / 0.4948 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.004321/4.716, allocations: 1.364 MB / 2.021 GB, free: 22.88 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/4.716, allocations: 8.031 kB / 2.021 GB, free: 22.87 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001507/4.717, allocations: 278.6 kB / 2.021 GB, free: 22.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/4.719, allocations: 0.668 MB / 2.022 GB, free: 21.89 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.944e-05/4.719, allocations: 93.39 kB / 2.022 GB, free: 21.79 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/4.719, allocations: 47.94 kB / 2.022 GB, free: 21.74 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001221/4.72, allocations: 0.8668 MB / 2.023 GB, free: 20.87 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/4.722, allocations: 1.122 MB / 2.024 GB, free: 19.68 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/4.722, allocations: 4 kB / 2.024 GB, free: 19.67 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/4.722, allocations: 4 kB / 2.024 GB, free: 19.67 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-05/4.722, allocations: 73.2 kB / 2.024 GB, free: 19.59 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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.005251/4.727, allocations: 4.737 MB / 2.029 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/4.728, allocations: 264 kB / 2.029 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/4.728, allocations: 129.3 kB / 2.029 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002066/4.728, allocations: 244 kB / 2.029 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/4.728, allocations: 38.75 kB / 2.029 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 1.803e-06/4.728, allocations: 4 kB / 2.029 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.005043/4.733, allocations: 1.544 MB / 2.031 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/4.733, allocations: 132.5 kB / 2.031 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006718/4.734, allocations: 0.656 MB / 2.032 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.098e-05/4.734, allocations: 25.7 kB / 2.032 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/4.734, allocations: 0.5784 MB / 2.032 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.928e-05/4.734, allocations: 126.3 kB / 2.032 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/4.734, allocations: 0 / 2.032 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001006/4.734, allocations: 386.8 kB / 2.033 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002905/4.735, allocations: 238.5 kB / 2.033 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004961/4.735, allocations: 0.8339 MB / 2.034 GB, free: 8.891 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005001/4.736, allocations: 424.1 kB / 2.034 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/4.736, allocations: 4 kB / 2.034 GB, free: 8.473 MB / 0.4948 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001401/4.737, allocations: 1.056 MB / 2.035 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/4.737, allocations: 12 kB / 2.035 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/4.737, allocations: 20 kB / 2.035 GB, free: 7.375 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/4.738, allocations: 265.2 kB / 2.035 GB, free: 7.113 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005147/4.739, allocations: 203.5 kB / 2.036 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007736/4.74, allocations: 0.9179 MB / 2.036 GB, free: 5.973 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007661/4.74, allocations: 40.03 kB / 2.036 GB, free: 5.934 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.423e-05/4.74, allocations: 68 kB / 2.037 GB, free: 5.867 MB / 0.4948 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0001532/4.741, allocations: 156.5 kB / 2.037 GB, free: 5.707 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/4.741, allocations: 79.06 kB / 2.037 GB, free: 5.629 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006826/4.741, allocations: 446 kB / 2.037 GB, free: 5.18 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/4.741, allocations: 4 kB / 2.037 GB, free: 5.176 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/4.741, allocations: 0 / 2.037 GB, free: 5.176 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/4.741, allocations: 0 / 2.037 GB, free: 5.176 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/4.743, allocations: 1.023 MB / 2.038 GB, free: 4.102 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/4.743, allocations: 0 / 2.038 GB, free: 4.102 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009057/4.744, allocations: 175.8 kB / 2.038 GB, free: 3.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.579e-05/4.744, allocations: 24.84 kB / 2.038 GB, free: 3.902 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/4.744, allocations: 3.984 kB / 2.038 GB, free: 3.898 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001226/4.745, allocations: 2.581 MB / 2.041 GB, free: 1.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/4.745, allocations: 4.031 kB / 2.041 GB, free: 1.086 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006832/4.746, allocations: 0.6704 MB / 2.042 GB, free: 396 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002427/4.746, allocations: 188.1 kB / 2.042 GB, free: 188 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/4.746, allocations: 4 kB / 2.042 GB, free: 184 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004409/4.747, allocations: 19.97 kB / 2.042 GB, free: 164 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.992e-05/4.747, allocations: 27.98 kB / 2.042 GB, free: 136 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.593e-05/4.747, allocations: 23.98 kB / 2.042 GB, free: 112 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006183/4.747, allocations: 483.1 kB / 2.042 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/4.747, allocations: 3.938 kB / 2.042 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00204/4.749, allocations: 487.7 kB / 2.043 GB, free: 15.16 MB / 0.5105 GB 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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004181/4.754, allocations: 1.561 MB / 2.044 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001075/4.755, allocations: 0.6002 MB / 2.045 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.361e-06/4.755, allocations: 3.938 kB / 2.045 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008071/4.755, allocations: 350.2 kB / 2.045 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/4.757, allocations: 312.8 kB / 2.046 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/4.759, allocations: 1.114 MB / 2.047 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007152/4.76, allocations: 1.055 MB / 2.048 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009658/4.761, allocations: 291 kB / 2.048 GB, free: 9.82 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/4.761, allocations: 67.42 kB / 2.048 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of SimCode: time 3.71e-07/4.761, allocations: 3.938 kB / 2.048 GB, free: 9.75 MB / 0.5105 GB Notification: Performance of Templates: time 0.3467/5.108, allocations: 22.12 MB / 2.07 GB, free: 91.41 MB / 0.5105 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","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches