Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.484/1.484, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2377/0.2377, allocations: 44.95 MB / 359.6 MB, free: 6.039 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.X.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.X.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002401/0.002401, allocations: 71.89 kB / 0.4943 GB, free: 10.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4038, allocations: 65.48 MB / 0.5582 GB, free: 7.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.2393/0.6432, allocations: 156.4 MB / 0.7109 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01346/0.6566, allocations: 5.968 MB / 0.7167 GB, free: 4.527 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.6577, allocations: 27.75 kB / 0.7168 GB, free: 4.5 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001546/0.6592, allocations: 409.6 kB / 0.7172 GB, free: 4.098 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00553/0.6648, allocations: 1.803 MB / 0.7189 GB, free: 2.297 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0043/0.6691, allocations: 1.538 MB / 0.7204 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003263/0.6723, allocations: 2.255 MB / 0.7226 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001084/0.6734, allocations: 0.5941 MB / 0.7232 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004075/0.6775, allocations: 1.842 MB / 0.725 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003091/0.6806, allocations: 1.648 MB / 0.7266 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002538/0.6808, allocations: 100 kB / 0.7267 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002913/0.6838, allocations: 1.172 MB / 0.7279 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007957/0.6845, allocations: 0.6975 MB / 0.7285 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008962/0.6854, allocations: 0.65 MB / 0.7292 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003964/0.6894, allocations: 2.629 MB / 0.7317 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.6894, allocations: 0 / 0.7317 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6894, allocations: 0 / 0.7317 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.845e-05/0.6894, allocations: 0 / 0.7317 GB, free: 5.141 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.003941/0.6934, allocations: 1.669 MB / 0.7334 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.526e-05/0.6934, allocations: 8.031 kB / 0.7334 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001506/0.6949, allocations: 322.9 kB / 0.7337 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00175/0.6967, allocations: 0.7193 MB / 0.7344 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002066/0.6969, allocations: 192.8 kB / 0.7346 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002297/0.6971, allocations: 107.9 kB / 0.7347 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3308/1.028, allocations: 2.537 MB / 0.7371 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.963e-05/1.028, allocations: 13.06 kB / 0.7372 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002595/1.028, allocations: 48.27 kB / 0.7372 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002163/1.028, allocations: 92.7 kB / 0.7373 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003817/1.032, allocations: 1.694 MB / 0.7389 GB, free: 177.2 MB / 0.5606 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.00791/1.04, allocations: 4.797 MB / 0.7436 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/1.041, allocations: 0.8525 MB / 0.7445 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004922/1.042, allocations: 431 kB / 0.7449 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.504e-05/1.042, allocations: 28.47 kB / 0.7449 GB, free: 173 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/1.042, allocations: 43.06 kB / 0.7449 GB, free: 173 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=60): time 3.497e-06/1.042, allocations: 0 / 0.7449 GB, free: 173 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72): time 0.009319/1.051, allocations: 4.018 MB / 0.7489 GB, free: 169 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/1.051, allocations: 111.5 kB / 0.749 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006713/1.052, allocations: 0.6975 MB / 0.7497 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.26e-05/1.052, allocations: 45.7 kB / 0.7497 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/1.052, allocations: 0.553 MB / 0.7502 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/1.052, allocations: 286.2 kB / 0.7505 GB, free: 167.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000279/1.053, allocations: 214.5 kB / 0.7507 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.617e-05/1.053, allocations: 390.7 kB / 0.7511 GB, free: 166.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007074/1.053, allocations: 0.5875 MB / 0.7517 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008153/1.054, allocations: 0.9145 MB / 0.7526 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/1.056, allocations: 1.453 MB / 0.754 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/1.056, allocations: 4 kB / 0.754 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002443/1.058, allocations: 1.946 MB / 0.7559 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/1.058, allocations: 8 kB / 0.7559 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/1.058, allocations: 8 kB / 0.7559 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004166/1.062, allocations: 1.353 MB / 0.7572 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005782/1.063, allocations: 147.8 kB / 0.7574 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002225/1.065, allocations: 1.927 MB / 0.7592 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008408/1.066, allocations: 43.97 kB / 0.7593 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.882e-05/1.066, allocations: 63.98 kB / 0.7593 GB, free: 158.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (82): * Single equations (assignments): 81 * 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 {(9,35)} Notification: Performance of prepare postOptimizeDAE: time 0.0006271/1.067, allocations: 394.8 kB / 0.7597 GB, free: 157.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/1.067, allocations: 83.53 kB / 0.7598 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002023/1.069, allocations: 1.466 MB / 0.7612 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/1.069, allocations: 11.8 kB / 0.7612 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/1.069, allocations: 3.984 kB / 0.7612 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/1.069, allocations: 0 / 0.7612 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003361/1.072, allocations: 2.371 MB / 0.7636 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/1.072, allocations: 7.75 kB / 0.7636 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001621/1.074, allocations: 326.4 kB / 0.7639 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001646/1.074, allocations: 71.42 kB / 0.7639 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.26e-05/1.074, allocations: 43.91 kB / 0.764 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00163/1.076, allocations: 2.766 MB / 0.7667 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.076, allocations: 7.969 kB / 0.7667 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002289/1.078, allocations: 1.88 MB / 0.7685 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006534/1.079, allocations: 224.2 kB / 0.7687 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/1.079, allocations: 35.86 kB / 0.7688 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007703/1.08, allocations: 47.95 kB / 0.7688 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/1.08, allocations: 60.55 kB / 0.7689 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.627e-05/1.08, allocations: 63.94 kB / 0.7689 GB, free: 148 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000468/1.08, allocations: 0.4912 MB / 0.7694 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.08, allocations: 0 / 0.7694 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001356/1.082, allocations: 475.1 kB / 0.7699 GB, free: 147.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],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 (78): * Single equations (assignments): 76 * 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.00151/1.083, allocations: 0.6588 MB / 0.7705 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002321/1.086, allocations: 1.419 MB / 0.7719 GB, free: 145 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/1.086, allocations: 4.297 kB / 0.7719 GB, free: 145 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001298/1.087, allocations: 0.8262 MB / 0.7727 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/1.089, allocations: 470.2 kB / 0.7732 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004368/1.093, allocations: 2.958 MB / 0.7761 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004821/1.094, allocations: 0.578 MB / 0.7766 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003996/1.094, allocations: 107.3 kB / 0.7767 GB, free: 140.1 MB / 0.5606 GB Notification: Performance of SimCode: time 9.12e-07/1.094, allocations: 0 / 0.7767 GB, free: 140.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.03006/1.124, allocations: 28.23 MB / 0.8043 GB, free: 111.9 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.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: 13.903461566660553]