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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001303/0.001303, allocations: 81.62 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001452/0.001452, allocations: 162 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 177.1 MB / 204.7 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2058/0.2058, allocations: 34.26 MB / 295.4 MB, free: 14.48 MB / 286.1 MB " [Timeout remaining time 180] 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=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00239/0.00239, allocations: 79.88 kB / 443.2 MB, free: 6.477 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3121, allocations: 66.06 MB / 0.4973 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.1932/0.5053, allocations: 156.5 MB / 0.6501 GB, free: 8.52 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008853/0.5141, allocations: 5.966 MB / 0.656 GB, free: 2.535 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005805/0.5147, allocations: 31.69 kB / 0.656 GB, free: 2.504 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.5159, allocations: 389.8 kB / 0.6564 GB, free: 2.121 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00422/0.5201, allocations: 1.797 MB / 0.6581 GB, free: 328 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003735/0.5238, allocations: 1.507 MB / 0.6596 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002675/0.5265, allocations: 2.13 MB / 0.6617 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007286/0.5272, allocations: 493.3 kB / 0.6622 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003604/0.5308, allocations: 1.803 MB / 0.6639 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002866/0.5337, allocations: 1.535 MB / 0.6654 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002147/0.5339, allocations: 76 kB / 0.6655 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002553/0.5365, allocations: 1.143 MB / 0.6666 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005051/0.537, allocations: 450.7 kB / 0.667 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006424/0.5376, allocations: 478.1 kB / 0.6675 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003093/0.5407, allocations: 2.072 MB / 0.6695 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/0.5407, allocations: 8 kB / 0.6695 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.505e-06/0.5407, allocations: 0 / 0.6695 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.902e-05/0.5407, allocations: 0 / 0.6695 GB, free: 4.633 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.003789/0.5445, allocations: 1.395 MB / 0.6709 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.5446, allocations: 12.03 kB / 0.6709 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001527/0.5461, allocations: 291.1 kB / 0.6712 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.5474, allocations: 0.5829 MB / 0.6717 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/0.5475, allocations: 168.1 kB / 0.6719 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.5477, allocations: 59.98 kB / 0.672 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002394/0.55, allocations: 1.97 MB / 0.6739 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/0.5501, allocations: 7.938 kB / 0.6739 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/0.5502, allocations: 28 kB / 0.6739 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001064/0.5503, allocations: 77.27 kB / 0.674 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001753/0.552, allocations: 1.055 MB / 0.675 GB, free: 14.67 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.006668/0.5587, allocations: 3.872 MB / 0.6788 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005718/0.5593, allocations: 294.6 kB / 0.6791 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002467/0.5595, allocations: 128.8 kB / 0.6792 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.781e-05/0.5596, allocations: 23.98 kB / 0.6792 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.5596, allocations: 38.56 kB / 0.6793 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=28): time 2.214e-06/0.5596, allocations: 0 / 0.6793 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.007008/0.5667, allocations: 1.766 MB / 0.681 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.505e-05/0.5667, allocations: 140.5 kB / 0.6811 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.5678, allocations: 0.836 MB / 0.6819 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.258e-05/0.5678, allocations: 33.7 kB / 0.682 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004551/0.5683, allocations: 0.5922 MB / 0.6825 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.5684, allocations: 138.9 kB / 0.6827 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002946/0.5687, allocations: 222.8 kB / 0.6829 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002164/0.5689, allocations: 386.8 kB / 0.6833 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004694/0.5694, allocations: 274.5 kB / 0.6835 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/0.5704, allocations: 0.9431 MB / 0.6844 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/0.572, allocations: 1.172 MB / 0.6856 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/0.572, allocations: 4 kB / 0.6856 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002075/0.574, allocations: 1.239 MB / 0.6868 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/0.5741, allocations: 12 kB / 0.6868 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.526e-05/0.5741, allocations: 20 kB / 0.6868 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001297/0.5754, allocations: 289.4 kB / 0.6871 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000584/0.576, allocations: 203.6 kB / 0.6873 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/0.5771, allocations: 0.9157 MB / 0.6882 GB, free: 280 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000726/0.5778, allocations: 44 kB / 0.6882 GB, free: 236 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.449e-05/0.5779, allocations: 67.98 kB / 0.6883 GB, free: 168 kB / 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.2455/0.8234, allocations: 336.9 kB / 0.6886 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002428/0.8237, allocations: 84.94 kB / 0.6887 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.8247, allocations: 0.5103 MB / 0.6892 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.8247, allocations: 3.406 kB / 0.6892 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.8247, allocations: 0 / 0.6892 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.8247, allocations: 5.422 kB / 0.6892 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001641/0.8264, allocations: 0.9612 MB / 0.6902 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.8264, allocations: 0.9375 kB / 0.6902 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/0.8274, allocations: 186.8 kB / 0.6903 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.448e-05/0.8275, allocations: 26.66 kB / 0.6904 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.8275, allocations: 8.438 kB / 0.6904 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001479/0.829, allocations: 2.624 MB / 0.6929 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/0.829, allocations: 1.5 kB / 0.6929 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.8301, allocations: 0.707 MB / 0.6936 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002855/0.8303, allocations: 109.9 kB / 0.6937 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.292e-05/0.8304, allocations: 7.969 kB / 0.6937 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003942/0.8308, allocations: 12.88 kB / 0.6937 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.093e-05/0.8309, allocations: 29.59 kB / 0.6938 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.385e-05/0.831, allocations: 20.84 kB / 0.6938 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006878/0.8316, allocations: 0.5248 MB / 0.6943 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.8316, allocations: 1.281 kB / 0.6943 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001421/0.8331, allocations: 382.6 kB / 0.6947 GB, free: 162.9 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.001503/0.8346, allocations: 0.6269 MB / 0.6953 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001275/0.8358, allocations: 0.6515 MB / 0.6959 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.8358, allocations: 4.406 kB / 0.6959 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008517/0.8367, allocations: 361.2 kB / 0.6963 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/0.8381, allocations: 344.4 kB / 0.6966 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.84, allocations: 1.608 MB / 0.6982 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.8404, allocations: 441.3 kB / 0.6986 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007702/0.8411, allocations: 365.7 kB / 0.6989 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.8413, allocations: 74.64 kB / 0.699 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of SimCode: time 5.81e-07/0.8413, allocations: 0 / 0.699 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.03301/0.8743, allocations: 19.42 MB / 0.718 GB, free: 157.8 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.466212329920381]