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.001327/0.001327, allocations: 84.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001196/0.001196, allocations: 168.5 kB / 24.91 MB, free: 8.254 MB / 18.57 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.064/1.064, allocations: 177 MB / 205.2 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] 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.2946/0.2946, allocations: 34.87 MB / 296.6 MB, free: 0.5156 MB / 266.7 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 1.573e-06/1.573e-06, allocations: 0 / 326 MB, free: 7.109 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.136e-05/3.293e-05, allocations: 3.516 kB / 326 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3598/0.3599, allocations: 148.6 MB / 474.6 MB, free: 12.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004163/0.364, allocations: 3.092 MB / 477.6 MB, free: 12.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000552/0.3646, allocations: 26.84 kB / 477.7 MB, free: 12.06 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005809/0.3652, allocations: 238.6 kB / 477.9 MB, free: 11.99 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002675/0.3678, allocations: 1.508 MB / 479.4 MB, free: 11.8 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.3694, allocations: 0.9232 MB / 480.3 MB, free: 11.75 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002224/0.3716, allocations: 2.222 MB / 482.6 MB, free: 11.74 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008016/0.3724, allocations: 0.5146 MB / 483.1 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003728/0.3762, allocations: 2.831 MB / 485.9 MB, free: 11.43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009998/0.3772, allocations: 0.6358 MB / 486.5 MB, free: 11.37 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002241/0.3774, allocations: 74.25 kB / 486.6 MB, free: 11.37 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001512/0.3789, allocations: 0.6946 MB / 487.3 MB, free: 11.31 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004211/0.3793, allocations: 481.9 kB / 487.8 MB, free: 11.26 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005528/0.3799, allocations: 411.5 kB / 488.2 MB, free: 11.22 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002338/0.3822, allocations: 1.469 MB / 489.6 MB, free: 11.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.3822, allocations: 0 / 489.6 MB, free: 11.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3822, allocations: 3.281 kB / 489.7 MB, free: 11.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.628e-05/0.3823, allocations: 0 / 489.7 MB, free: 11.04 MB / 410.7 MB 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.001976/0.3842, allocations: 1.299 MB / 491 MB, free: 10.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.3843, allocations: 12.06 kB / 491 MB, free: 10.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008882/0.3851, allocations: 378.3 kB / 491.3 MB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006402/0.3858, allocations: 0.4922 MB / 491.8 MB, free: 9.902 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.052e-05/0.3859, allocations: 166.2 kB / 492 MB, free: 9.773 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-05/0.386, allocations: 82.22 kB / 492.1 MB, free: 9.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007916/0.3868, allocations: 1.439 MB / 493.5 MB, free: 8.477 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.3868, allocations: 2.531 kB / 493.5 MB, free: 8.477 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.152e-05/0.3869, allocations: 33.78 kB / 493.5 MB, free: 8.477 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-05/0.3869, allocations: 85.83 kB / 493.6 MB, free: 8.453 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000439/0.3874, allocations: 330.9 kB / 493.9 MB, free: 8.375 MB / 410.7 MB 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.002794/0.3902, allocations: 3.109 MB / 497.1 MB, free: 6.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.3904, allocations: 145.2 kB / 497.2 MB, free: 6.223 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.183e-05/0.3904, allocations: 54.55 kB / 497.3 MB, free: 6.207 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.805e-05/0.3905, allocations: 47.45 kB / 497.3 MB, free: 6.195 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.3905, allocations: 43.66 kB / 497.3 MB, free: 6.152 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.653e-06/0.3905, allocations: 0 / 497.3 MB, free: 6.152 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.002638/0.3932, allocations: 1.14 MB / 498.5 MB, free: 5.496 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.3932, allocations: 137.6 kB / 498.6 MB, free: 5.336 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003984/0.3936, allocations: 0.6835 MB / 499.3 MB, free: 5.047 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.3936, allocations: 32.39 kB / 499.3 MB, free: 5.016 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.3938, allocations: 0.5352 MB / 499.9 MB, free: 4.605 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.21e-05/0.3938, allocations: 141.3 kB / 0.4883 GB, free: 4.512 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.394, allocations: 209.8 kB / 0.4885 GB, free: 4.461 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.037e-05/0.3941, allocations: 396.5 kB / 0.4889 GB, free: 4.121 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.3942, allocations: 87.8 kB / 0.4889 GB, free: 4.102 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003007/0.3945, allocations: 0.7884 MB / 0.4897 GB, free: 3.195 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005438/0.395, allocations: 0.8891 MB / 0.4906 GB, free: 2.289 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/0.395, allocations: 5.844 kB / 0.4906 GB, free: 2.289 MB / 410.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.0007437/0.3958, allocations: 0.7366 MB / 0.4913 GB, free: 1.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.3958, allocations: 13.16 kB / 0.4913 GB, free: 1.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/0.3958, allocations: 18.91 kB / 0.4913 GB, free: 1.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005288/0.3963, allocations: 234.3 kB / 0.4916 GB, free: 1.906 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003113/0.3966, allocations: 219 kB / 0.4918 GB, free: 1.863 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003611/0.397, allocations: 0.6882 MB / 0.4924 GB, free: 1.293 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003439/0.3974, allocations: 45.59 kB / 0.4925 GB, free: 1.289 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.017e-05/0.3974, allocations: 56.22 kB / 0.4925 GB, free: 1.289 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 114 * 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.0001749/0.3976, allocations: 197.6 kB / 0.4927 GB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.237e-05/0.3976, allocations: 69.02 kB / 0.4928 GB, free: 1.117 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003653/0.398, allocations: 322.3 kB / 0.4931 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.398, allocations: 2.281 kB / 0.4931 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.398, allocations: 2.906 kB / 0.4931 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.398, allocations: 7.984 kB / 0.4931 GB, free: 0.957 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000643/0.3987, allocations: 0.6543 MB / 0.4938 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.3987, allocations: 3.938 kB / 0.4938 GB, free: 0.543 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004507/0.3991, allocations: 159.3 kB / 0.4939 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.605e-05/0.3992, allocations: 26.56 kB / 0.4939 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.3992, allocations: 10.91 kB / 0.4939 GB, free: 496 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001085/0.4003, allocations: 2.41 MB / 0.4963 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4003, allocations: 4 kB / 0.4963 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003707/0.4007, allocations: 425.2 kB / 0.4967 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.4008, allocations: 82.73 kB / 0.4968 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.383e-05/0.4008, allocations: 6.75 kB / 0.4968 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.401, allocations: 17.81 kB / 0.4968 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.808e-05/0.4011, allocations: 30.78 kB / 0.4968 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.112e-05/0.4011, allocations: 8.531 kB / 0.4968 GB, free: 13.65 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002147/0.4013, allocations: 294.4 kB / 0.4971 GB, free: 13.55 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4013, allocations: 0 / 0.4971 GB, free: 13.55 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000825/0.4021, allocations: 348.6 kB / 0.4975 GB, free: 13.5 MB / 426.7 MB 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.0007867/0.4029, allocations: 470.5 kB / 0.4979 GB, free: 13.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005479/0.4035, allocations: 441.1 kB / 0.4983 GB, free: 13.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.591e-05/0.4035, allocations: 16.09 kB / 0.4983 GB, free: 13.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003513/0.4038, allocations: 273.2 kB / 0.4986 GB, free: 12.94 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007416/0.4046, allocations: 353.8 kB / 0.4989 GB, free: 12.76 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.4063, allocations: 1.352 MB / 0.5003 GB, free: 11.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.4065, allocations: 213.9 kB / 0.5005 GB, free: 11.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004589/0.4069, allocations: 224.8 kB / 0.5007 GB, free: 11.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005516/0.4075, allocations: 355 kB / 0.501 GB, free: 11.48 MB / 426.7 MB Notification: Performance of SimCode: time 1.593e-06/0.4075, allocations: 0 / 0.501 GB, free: 11.48 MB / 426.7 MB Notification: Performance of Templates: time 0.02495/0.4325, allocations: 20.27 MB / 0.5208 GB, free: 9.805 MB / 442.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.038057583849877]