Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.0009225/0.0009225, allocations: 80.8 kB / 21.49 MB, free: 2.996 MB / 18.57 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.00104/0.00104, allocations: 170.4 kB / 24.91 MB, free: 8.723 MB / 18.57 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 0.9766/0.9766, allocations: 177.1 MB / 205.3 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] 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.124/0.124, allocations: 32.8 MB / 294.6 MB, free: 15.44 MB / 282.7 MB " [Timeout remaining time 180] 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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 0 / 323.2 MB, free: 2.789 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.739e-05, allocations: 2.312 kB / 323.2 MB, free: 2.785 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.2641/0.2642, allocations: 148.5 MB / 471.8 MB, free: 2.449 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004413/0.2686, allocations: 3.087 MB / 474.9 MB, free: 15.37 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003551/0.2689, allocations: 31.75 kB / 474.9 MB, free: 15.34 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005606/0.2695, allocations: 238.4 kB / 475.1 MB, free: 15.11 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00246/0.2719, allocations: 1.539 MB / 476.7 MB, free: 13.56 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.2734, allocations: 0.9547 MB / 477.6 MB, free: 12.6 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00203/0.2754, allocations: 2.207 MB / 479.8 MB, free: 10.38 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005872/0.276, allocations: 0.5322 MB / 480.4 MB, free: 9.852 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002898/0.2789, allocations: 2.841 MB / 483.2 MB, free: 7.004 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007387/0.2796, allocations: 0.6388 MB / 483.8 MB, free: 6.363 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.2797, allocations: 72 kB / 483.9 MB, free: 6.293 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009032/0.2806, allocations: 0.6627 MB / 484.6 MB, free: 5.629 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002879/0.2809, allocations: 486.8 kB / 485.1 MB, free: 5.152 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003072/0.2812, allocations: 411.1 kB / 485.5 MB, free: 4.75 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001515/0.2828, allocations: 1.464 MB / 486.9 MB, free: 3.281 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2828, allocations: 0 / 486.9 MB, free: 3.281 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2828, allocations: 0 / 486.9 MB, free: 3.281 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.2828, allocations: 0 / 486.9 MB, free: 3.281 MB / 426.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.001532/0.2843, allocations: 1.302 MB / 488.2 MB, free: 1.949 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.2843, allocations: 12.03 kB / 488.2 MB, free: 1.938 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000754/0.2851, allocations: 376 kB / 488.6 MB, free: 1.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005629/0.2857, allocations: 0.4912 MB / 489.1 MB, free: 1.055 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.606e-05/0.2857, allocations: 165 kB / 489.3 MB, free: 0.8711 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.2859, allocations: 83.94 kB / 489.3 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008922/0.2867, allocations: 1.443 MB / 490.8 MB, free: 15.1 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.2868, allocations: 0 / 490.8 MB, free: 15.1 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-05/0.2868, allocations: 35.98 kB / 490.8 MB, free: 15.06 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.61e-05/0.2869, allocations: 81.2 kB / 490.9 MB, free: 14.98 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000409/0.2873, allocations: 318.6 kB / 491.2 MB, free: 14.67 MB / 442.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.002976/0.2903, allocations: 3.129 MB / 494.3 MB, free: 11.44 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.2905, allocations: 138 kB / 494.5 MB, free: 11.3 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.346e-05/0.2905, allocations: 53.3 kB / 494.5 MB, free: 11.24 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.317e-05/0.2906, allocations: 41.83 kB / 494.6 MB, free: 11.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.2907, allocations: 46.44 kB / 494.6 MB, free: 11.15 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 1.593e-06/0.2907, allocations: 0 / 494.6 MB, free: 11.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.002563/0.2932, allocations: 1.16 MB / 495.8 MB, free: 9.926 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.2933, allocations: 132.5 kB / 495.9 MB, free: 9.766 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003977/0.2937, allocations: 0.6826 MB / 496.6 MB, free: 9.07 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.2937, allocations: 33.7 kB / 496.6 MB, free: 9.031 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.2939, allocations: 0.5386 MB / 497.1 MB, free: 8.484 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.663e-05/0.294, allocations: 142.8 kB / 497.3 MB, free: 8.344 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001619/0.2941, allocations: 210.7 kB / 497.5 MB, free: 8.133 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2942, allocations: 394.5 kB / 497.9 MB, free: 7.738 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.2943, allocations: 86.56 kB / 498 MB, free: 7.652 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003947/0.2947, allocations: 0.7883 MB / 498.8 MB, free: 6.551 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005463/0.2953, allocations: 0.8846 MB / 499.6 MB, free: 5.379 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.2953, allocations: 12 kB / 499.6 MB, free: 5.367 MB / 442.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.0008254/0.2961, allocations: 0.7277 MB / 0.4886 GB, free: 4.629 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.2961, allocations: 12 kB / 0.4887 GB, free: 4.617 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.2961, allocations: 24.12 kB / 0.4887 GB, free: 4.594 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005176/0.2967, allocations: 233.1 kB / 0.4889 GB, free: 4.363 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/0.297, allocations: 199.6 kB / 0.4891 GB, free: 4.168 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004553/0.2974, allocations: 0.6924 MB / 0.4898 GB, free: 3.449 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003077/0.2977, allocations: 40 kB / 0.4898 GB, free: 3.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.042e-05/0.2978, allocations: 60 kB / 0.4899 GB, free: 3.352 MB / 442.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.0001645/0.2979, allocations: 204.2 kB / 0.4901 GB, free: 3.141 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.145e-05/0.298, allocations: 67.86 kB / 0.4901 GB, free: 3.074 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000393/0.2984, allocations: 318.5 kB / 0.4904 GB, free: 2.754 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.2984, allocations: 4 kB / 0.4904 GB, free: 2.75 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.2984, allocations: 0 / 0.4904 GB, free: 2.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2984, allocations: 3.984 kB / 0.4904 GB, free: 2.746 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006405/0.299, allocations: 0.6525 MB / 0.4911 GB, free: 2.059 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.299, allocations: 0 / 0.4911 GB, free: 2.059 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004085/0.2995, allocations: 155.9 kB / 0.4912 GB, free: 1.906 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.598e-05/0.2995, allocations: 16.84 kB / 0.4912 GB, free: 1.887 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.2995, allocations: 15.36 kB / 0.4913 GB, free: 1.875 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001035/0.3006, allocations: 2.411 MB / 0.4936 GB, free: 15.28 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3006, allocations: 0 / 0.4936 GB, free: 15.28 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/0.3009, allocations: 429 kB / 0.494 GB, free: 14.84 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.301, allocations: 83.5 kB / 0.4941 GB, free: 14.75 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.397e-05/0.3011, allocations: 12 kB / 0.4941 GB, free: 14.74 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.3012, allocations: 11.98 kB / 0.4941 GB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.3013, allocations: 23.95 kB / 0.4941 GB, free: 14.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.3013, allocations: 15.98 kB / 0.4942 GB, free: 14.69 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002014/0.3015, allocations: 292.5 kB / 0.4944 GB, free: 14.41 MB / 458.7 MB Notification: Performance of sort global known variables: time 2e-08/0.3015, allocations: 0 / 0.4944 GB, free: 14.41 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006577/0.3022, allocations: 351.6 kB / 0.4948 GB, free: 14.06 MB / 458.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.0007397/0.3029, allocations: 481.5 kB / 0.4952 GB, free: 13.59 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006398/0.3035, allocations: 427.6 kB / 0.4956 GB, free: 13.17 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.369e-05/0.3036, allocations: 17.81 kB / 0.4957 GB, free: 13.16 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003504/0.3039, allocations: 271.2 kB / 0.4959 GB, free: 12.88 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007437/0.3047, allocations: 362 kB / 0.4963 GB, free: 12.54 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.3062, allocations: 1.346 MB / 0.4976 GB, free: 11.15 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.3064, allocations: 215.1 kB / 0.4978 GB, free: 10.92 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003682/0.3067, allocations: 227.1 kB / 0.498 GB, free: 10.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005142/0.3073, allocations: 349 kB / 0.4983 GB, free: 10.35 MB / 458.7 MB Notification: Performance of SimCode: time 6.51e-07/0.3073, allocations: 0 / 0.4983 GB, free: 10.35 MB / 458.7 MB Notification: Performance of Templates: time 0.1814/0.4887, allocations: 20.22 MB / 0.5181 GB, free: 43.96 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.932567885145545]