Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001386/0.001385, allocations: 114.4 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001467/0.001467, allocations: 202 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2287/0.2287, allocations: 46.11 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 75.88 kB / 482 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3593, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.2128/0.5722, allocations: 180.2 MB / 0.7077 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009441/0.5817, allocations: 6.5 MB / 0.714 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009693/0.5827, allocations: 19.88 kB / 0.714 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001467/0.5842, allocations: 421.6 kB / 0.7144 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0052/0.5894, allocations: 1.788 MB / 0.7162 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004447/0.5939, allocations: 1.477 MB / 0.7176 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002888/0.5968, allocations: 2.125 MB / 0.7197 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.338/0.9349, allocations: 0.5427 MB / 0.7202 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004178/0.9391, allocations: 1.766 MB / 0.7219 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002843/0.942, allocations: 1.494 MB / 0.7234 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002889/0.9423, allocations: 74.78 kB / 0.7235 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002995/0.9453, allocations: 1.311 MB / 0.7248 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006803/0.946, allocations: 447.9 kB / 0.7252 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009139/0.9469, allocations: 0.5568 MB / 0.7257 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003802/0.9507, allocations: 2.071 MB / 0.7277 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.9508, allocations: 0 / 0.7277 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.333e-06/0.9508, allocations: 0 / 0.7277 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.511e-05/0.9508, allocations: 3.312 kB / 0.7277 GB, free: 3.77 MB / 0.5606 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.003613/0.9544, allocations: 1.452 MB / 0.7292 GB, free: 19.08 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.9545, allocations: 11.06 kB / 0.7292 GB, free: 19.08 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001408/0.9559, allocations: 280.6 kB / 0.7294 GB, free: 19.03 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.957, allocations: 0.6407 MB / 0.7301 GB, free: 18.75 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.9571, allocations: 110.7 kB / 0.7302 GB, free: 18.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.9573, allocations: 64.77 kB / 0.7302 GB, free: 18.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/0.9589, allocations: 1.269 MB / 0.7315 GB, free: 18.48 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.959, allocations: 2.781 kB / 0.7315 GB, free: 18.48 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.9591, allocations: 28.47 kB / 0.7315 GB, free: 18.48 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.826e-05/0.9592, allocations: 86.94 kB / 0.7316 GB, free: 18.47 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001423/0.9606, allocations: 1.053 MB / 0.7326 GB, free: 18.46 MB / 0.5762 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.006485/0.9671, allocations: 4.913 MB / 0.7374 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004876/0.9676, allocations: 302.7 kB / 0.7377 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.9678, allocations: 146.8 kB / 0.7378 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/0.968, allocations: 97.86 kB / 0.7379 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.968, allocations: 37.84 kB / 0.738 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=28): time 3.767e-06/0.968, allocations: 3.344 kB / 0.738 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.006237/0.9742, allocations: 1.833 MB / 0.7398 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.92e-05/0.9744, allocations: 137.3 kB / 0.7399 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.9754, allocations: 0.9377 MB / 0.7408 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.958e-05/0.9755, allocations: 32.14 kB / 0.7408 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002871/0.9758, allocations: 0.5681 MB / 0.7414 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.724e-05/0.9759, allocations: 130.4 kB / 0.7415 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002454/0.9761, allocations: 222.5 kB / 0.7417 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.9763, allocations: 398.9 kB / 0.7421 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003804/0.9767, allocations: 275.8 kB / 0.7424 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006248/0.9773, allocations: 0.8646 MB / 0.7432 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.9784, allocations: 1.175 MB / 0.7444 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.9784, allocations: 4.938 kB / 0.7444 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001695/0.9801, allocations: 1.241 MB / 0.7456 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.9801, allocations: 14.16 kB / 0.7456 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.208e-05/0.9802, allocations: 20.95 kB / 0.7456 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001209/0.9814, allocations: 296.1 kB / 0.7459 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005227/0.9819, allocations: 206.3 kB / 0.7461 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/0.983, allocations: 0.9136 MB / 0.747 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008317/0.9838, allocations: 48.25 kB / 0.747 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-05/0.9839, allocations: 65.78 kB / 0.7471 GB, free: 11.7 MB / 0.5762 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.0004431/0.9843, allocations: 346.4 kB / 0.7474 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.9845, allocations: 90.56 kB / 0.7475 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009375/0.9854, allocations: 0.5111 MB / 0.748 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.9855, allocations: 7.188 kB / 0.748 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.9855, allocations: 3.219 kB / 0.748 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.9855, allocations: 3.953 kB / 0.748 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001583/0.9871, allocations: 1.125 MB / 0.7491 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.9871, allocations: 0 / 0.7491 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000917/0.988, allocations: 183.2 kB / 0.7493 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.264e-05/0.9881, allocations: 29.27 kB / 0.7493 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-05/0.9881, allocations: 9.5 kB / 0.7493 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002009/0.9902, allocations: 2.877 MB / 0.7521 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.9902, allocations: 3.219 kB / 0.7522 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.9912, allocations: 0.7009 MB / 0.7528 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003562/0.9916, allocations: 197.6 kB / 0.753 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.9917, allocations: 6.906 kB / 0.753 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004181/0.9922, allocations: 21.81 kB / 0.7531 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.491e-05/0.9922, allocations: 27.61 kB / 0.7531 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.154e-05/0.9923, allocations: 21.67 kB / 0.7531 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007384/0.993, allocations: 0.6253 MB / 0.7537 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.993, allocations: 0 / 0.7537 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001504/0.9945, allocations: 383.9 kB / 0.7541 GB, free: 7.875 MB / 0.5762 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 () * 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.001647/0.9962, allocations: 0.6542 MB / 0.7547 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001238/0.9975, allocations: 0.6785 MB / 0.7554 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.9975, allocations: 0 / 0.7554 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008068/0.9983, allocations: 358.8 kB / 0.7557 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/1, allocations: 424.1 kB / 0.7561 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002442/1.002, allocations: 1.666 MB / 0.7577 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005527/1.003, allocations: 1.025 MB / 0.7588 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002331/1.003, allocations: 92.56 kB / 0.7588 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/1.003, allocations: 2.5 kB / 0.7588 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of Templates: time 0.03367/1.037, allocations: 22.82 MB / 0.7811 GB, free: 15.55 MB / 0.5919 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p