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.001301/0.001301, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.005995/0.005995, allocations: 156 kB / 24.7 MB, free: 9.434 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 0.9374/0.9374, allocations: 177 MB / 204.9 MB, free: 5.73 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.2819/0.2819, allocations: 34.24 MB / 295.6 MB, free: 0.6875 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 2.605e-06/2.605e-06, allocations: 4 kB / 443.4 MB, free: 1.039 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.89e-05/2.15e-05, allocations: 2.281 kB / 443.4 MB, free: 1.035 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.338/0.338, allocations: 156.4 MB / 0.5858 GB, free: 3.668 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00672/0.3447, allocations: 5.986 MB / 0.5917 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005421/0.3453, allocations: 27.75 kB / 0.5917 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.3463, allocations: 393.5 kB / 0.5921 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.003091/0.3494, allocations: 1.824 MB / 0.5938 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0025/0.3519, allocations: 1.556 MB / 0.5954 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001803/0.3537, allocations: 2.149 MB / 0.5975 GB, free: 7.723 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009024/0.3546, allocations: 489.3 kB / 0.5979 GB, free: 7.242 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002415/0.357, allocations: 2.037 MB / 0.5999 GB, free: 5.199 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001646/0.3587, allocations: 1.5 MB / 0.6014 GB, free: 3.699 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 8.752e-05/0.3587, allocations: 76 kB / 0.6015 GB, free: 3.625 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00154/0.3603, allocations: 1.165 MB / 0.6026 GB, free: 2.457 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002655/0.3606, allocations: 470.8 kB / 0.603 GB, free: 1.996 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.000281/0.3608, allocations: 415.1 kB / 0.6034 GB, free: 1.59 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.00197/0.3628, allocations: 2.205 MB / 0.6056 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3628, allocations: 3.984 kB / 0.6056 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3628, allocations: 0 / 0.6056 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.939e-06/0.3628, allocations: 4 kB / 0.6056 GB, free: 15.37 MB / 0.5105 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.0018/0.3646, allocations: 1.388 MB / 0.607 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.3647, allocations: 12.03 kB / 0.607 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007271/0.3654, allocations: 289.8 kB / 0.6072 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007153/0.3661, allocations: 0.5752 MB / 0.6078 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.3662, allocations: 168 kB / 0.608 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.324e-05/0.3663, allocations: 71.94 kB / 0.608 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.3677, allocations: 1.966 MB / 0.61 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.3677, allocations: 7.938 kB / 0.61 GB, free: 10.58 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.882e-05/0.3678, allocations: 28 kB / 0.61 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.739e-05/0.3679, allocations: 86.48 kB / 0.6101 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.3689, allocations: 1.054 MB / 0.6111 GB, free: 9.414 MB / 0.5105 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.00382/0.3728, allocations: 3.858 MB / 0.6149 GB, free: 5.453 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003639/0.3731, allocations: 290.5 kB / 0.6151 GB, free: 5.16 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.3733, allocations: 140.8 kB / 0.6153 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.888e-05/0.3733, allocations: 19.94 kB / 0.6153 GB, free: 5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.3733, allocations: 34.56 kB / 0.6153 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 1.372e-06/0.3733, allocations: 0 / 0.6153 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.003478/0.3768, allocations: 1.767 MB / 0.6171 GB, free: 3.129 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/0.3769, allocations: 132.5 kB / 0.6172 GB, free: 2.969 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006014/0.3775, allocations: 0.8322 MB / 0.618 GB, free: 2.121 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.3775, allocations: 39.39 kB / 0.618 GB, free: 2.078 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002619/0.3778, allocations: 0.5921 MB / 0.6186 GB, free: 1.48 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003296/0.3781, allocations: 134.9 kB / 0.6187 GB, free: 1.348 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.3783, allocations: 214.8 kB / 0.6189 GB, free: 1.133 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.3784, allocations: 394.7 kB / 0.6193 GB, free: 0.7383 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002939/0.3787, allocations: 278.5 kB / 0.6196 GB, free: 480 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005632/0.3793, allocations: 0.9353 MB / 0.6205 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008471/0.3801, allocations: 1.183 MB / 0.6217 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.3801, allocations: 4 kB / 0.6217 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001187/0.3813, allocations: 1.22 MB / 0.6229 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.3813, allocations: 19.98 kB / 0.6229 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.3813, allocations: 20 kB / 0.6229 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000677/0.382, allocations: 291.8 kB / 0.6232 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003138/0.3823, allocations: 203.6 kB / 0.6234 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006749/0.383, allocations: 0.9127 MB / 0.6243 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003394/0.3833, allocations: 44 kB / 0.6243 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.855e-05/0.3834, allocations: 68.55 kB / 0.6244 GB, free: 10.96 MB / 0.5261 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.0002742/0.3837, allocations: 349.2 kB / 0.6247 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.582e-05/0.3837, allocations: 83.48 kB / 0.6248 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008914/0.3846, allocations: 0.5069 MB / 0.6253 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3846, allocations: 6.5 kB / 0.6253 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.3846, allocations: 0 / 0.6253 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3846, allocations: 0 / 0.6253 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009834/0.3856, allocations: 0.9764 MB / 0.6262 GB, free: 8.992 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3856, allocations: 0 / 0.6262 GB, free: 8.992 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005094/0.3861, allocations: 187.7 kB / 0.6264 GB, free: 8.809 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-05/0.3862, allocations: 24.84 kB / 0.6264 GB, free: 8.781 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.3862, allocations: 8 kB / 0.6264 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001396/0.3876, allocations: 2.623 MB / 0.629 GB, free: 5.949 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3876, allocations: 0 / 0.629 GB, free: 5.949 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006929/0.3883, allocations: 0.693 MB / 0.6297 GB, free: 5.234 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.3885, allocations: 107.6 kB / 0.6298 GB, free: 5.129 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.106e-05/0.3885, allocations: 11.95 kB / 0.6298 GB, free: 5.117 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.3887, allocations: 15.98 kB / 0.6298 GB, free: 5.102 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/0.3888, allocations: 27.89 kB / 0.6298 GB, free: 5.074 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.744e-05/0.3888, allocations: 23.98 kB / 0.6299 GB, free: 5.051 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004146/0.3892, allocations: 0.5224 MB / 0.6304 GB, free: 4.535 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.3892, allocations: 0 / 0.6304 GB, free: 4.535 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008179/0.39, allocations: 379.5 kB / 0.6307 GB, free: 4.164 MB / 0.5261 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.001045/0.3911, allocations: 0.6526 MB / 0.6314 GB, free: 3.512 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007916/0.3918, allocations: 0.6507 MB / 0.632 GB, free: 2.863 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3918, allocations: 0 / 0.632 GB, free: 2.863 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007665/0.3926, allocations: 359.6 kB / 0.6323 GB, free: 2.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008185/0.3934, allocations: 342.8 kB / 0.6327 GB, free: 2.18 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.395, allocations: 1.576 MB / 0.6342 GB, free: 0.5625 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.3953, allocations: 437.5 kB / 0.6346 GB, free: 112 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.3955, allocations: 84.48 kB / 0.6347 GB, free: 28 kB / 0.5261 GB Notification: Performance of SimCode: time 6.61e-07/0.3955, allocations: 0 / 0.6347 GB, free: 28 kB / 0.5261 GB Notification: Performance of Templates: time 0.1763/0.5718, allocations: 22.16 MB / 0.6563 GB, free: 162.2 MB / 0.5261 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins/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: 8.397777265869081]