Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008402/0.0008402, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001327/0.002167, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0008323/0.0008323, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001089/0.001921, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9446/0.9446, allocations: 158.6 MB / 171 MB, free: 2.191 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.179/1.124, allocations: 49.51 MB / 220.5 MB, free: 5.273 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1333/0.1333, allocations: 32.34 MB / 253.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02273/0.156, allocations: 12.3 MB / 265.9 MB, free: 7.832 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.61e-07/7.61e-07, allocations: 0 / 267.2 MB, free: 6.535 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.049e-05, allocations: 2.312 kB / 267.2 MB, free: 6.531 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.2793/0.2793, allocations: 147.3 MB / 414.5 MB, free: 4.094 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004234/0.2835, allocations: 3.108 MB / 417.6 MB, free: 1.008 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003908/0.2839, allocations: 27.75 kB / 417.7 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005738/0.2845, allocations: 242.5 kB / 417.9 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0029/0.2874, allocations: 1.551 MB / 419.5 MB, free: 15.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001474/0.2889, allocations: 0.9333 MB / 420.4 MB, free: 14.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001859/0.2907, allocations: 2.255 MB / 422.6 MB, free: 11.99 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004686/0.2912, allocations: 0.5173 MB / 423.2 MB, free: 11.46 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003214/0.2944, allocations: 2.747 MB / 425.9 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005822/0.295, allocations: 0.6427 MB / 426.6 MB, free: 8.07 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.99e-05/0.2951, allocations: 72 kB / 426.6 MB, free: 8 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009695/0.2961, allocations: 0.725 MB / 427.3 MB, free: 7.273 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002559/0.2963, allocations: 411 kB / 427.7 MB, free: 6.871 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002853/0.2966, allocations: 331.4 kB / 428.1 MB, free: 6.547 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.2977, allocations: 1.306 MB / 429.4 MB, free: 5.238 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.27e-05/0.2977, allocations: 0 / 429.4 MB, free: 5.238 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2978, allocations: 0 / 429.4 MB, free: 5.238 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.76e-05/0.2978, allocations: 0 / 429.4 MB, free: 5.238 MB / 378.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.001591/0.2994, allocations: 1.603 MB / 431 MB, free: 3.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.84e-05/0.2994, allocations: 8.031 kB / 431 MB, free: 3.582 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007219/0.3001, allocations: 356.2 kB / 431.3 MB, free: 3.234 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008358/0.3009, allocations: 0.5029 MB / 431.8 MB, free: 2.703 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.201e-05/0.301, allocations: 160.7 kB / 432 MB, free: 2.523 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.3011, allocations: 84.36 kB / 432.1 MB, free: 2.441 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008908/0.302, allocations: 1.46 MB / 433.5 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.302, allocations: 0 / 433.5 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-05/0.3021, allocations: 32 kB / 433.6 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.267e-05/0.3022, allocations: 85.2 kB / 433.7 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003931/0.3026, allocations: 331.8 kB / 434 MB, free: 300 kB / 378.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.002711/0.3053, allocations: 3.135 MB / 437.1 MB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.3055, allocations: 147.8 kB / 437.3 MB, free: 12.9 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.134e-05/0.3055, allocations: 52.83 kB / 437.3 MB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.939e-05/0.3056, allocations: 62.34 kB / 437.4 MB, free: 12.79 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.3056, allocations: 42.56 kB / 437.4 MB, free: 12.74 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 1.453e-06/0.3056, allocations: 0 / 437.4 MB, free: 12.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=33): time 0.002596/0.3082, allocations: 1.109 MB / 438.5 MB, free: 11.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.3083, allocations: 63.34 kB / 438.6 MB, free: 11.49 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003971/0.3086, allocations: 0.6787 MB / 439.3 MB, free: 10.8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.3087, allocations: 33.7 kB / 439.3 MB, free: 10.76 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/0.3089, allocations: 0.5386 MB / 439.8 MB, free: 10.21 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.807e-05/0.309, allocations: 138.9 kB / 440 MB, free: 10.08 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001679/0.3091, allocations: 210.7 kB / 440.2 MB, free: 9.863 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.3092, allocations: 394.6 kB / 440.6 MB, free: 9.469 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.518e-05/0.3093, allocations: 82.58 kB / 440.6 MB, free: 9.391 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003887/0.3097, allocations: 0.7844 MB / 441.4 MB, free: 8.293 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000539/0.3103, allocations: 0.8884 MB / 442.3 MB, free: 7.117 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.3103, allocations: 8 kB / 442.3 MB, free: 7.109 MB / 394.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.0006627/0.3109, allocations: 0.7277 MB / 443 MB, free: 6.371 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.3109, allocations: 16 kB / 443.1 MB, free: 6.355 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/0.311, allocations: 28.06 kB / 443.1 MB, free: 6.328 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004796/0.3114, allocations: 207.5 kB / 443.3 MB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003313/0.3118, allocations: 227.6 kB / 443.5 MB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004134/0.3122, allocations: 0.6937 MB / 444.2 MB, free: 5.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003061/0.3125, allocations: 44 kB / 444.3 MB, free: 5.137 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.894e-05/0.3125, allocations: 59.98 kB / 444.3 MB, free: 5.078 MB / 394.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.0001522/0.3127, allocations: 200.2 kB / 444.5 MB, free: 4.871 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.622e-05/0.3128, allocations: 63.92 kB / 444.6 MB, free: 4.809 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003123/0.3131, allocations: 273.8 kB / 444.8 MB, free: 4.523 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.3131, allocations: 4 kB / 444.8 MB, free: 4.52 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.3131, allocations: 0 / 444.8 MB, free: 4.52 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3131, allocations: 7.984 kB / 444.8 MB, free: 4.512 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008566/0.3139, allocations: 0.653 MB / 445.5 MB, free: 3.828 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3139, allocations: 0 / 445.5 MB, free: 3.828 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004646/0.3144, allocations: 167.8 kB / 445.7 MB, free: 3.664 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.3145, allocations: 87.48 kB / 445.7 MB, free: 3.578 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.168e-05/0.3146, allocations: 20.84 kB / 445.8 MB, free: 3.555 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.3146, allocations: 8 kB / 445.8 MB, free: 3.547 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009794/0.3156, allocations: 2.414 MB / 448.2 MB, free: 0.9531 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3156, allocations: 0 / 448.2 MB, free: 0.9531 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.3159, allocations: 427.3 kB / 448.6 MB, free: 0.5078 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.597e-05/0.3159, allocations: 11.94 kB / 448.6 MB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.3161, allocations: 19.92 kB / 448.6 MB, free: 488 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.3161, allocations: 28.11 kB / 448.7 MB, free: 460 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.3162, allocations: 15.98 kB / 448.7 MB, free: 444 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001985/0.3164, allocations: 292.5 kB / 449 MB, free: 156 kB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3164, allocations: 0 / 449 MB, free: 156 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006598/0.317, allocations: 347.7 kB / 449.3 MB, free: 15.81 MB / 410.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.0008347/0.3179, allocations: 478.2 kB / 449.8 MB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005178/0.3184, allocations: 427.4 kB / 450.2 MB, free: 14.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.063e-05/0.3184, allocations: 17.81 kB / 450.2 MB, free: 14.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003452/0.3188, allocations: 276.8 kB / 450.5 MB, free: 14.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007374/0.3195, allocations: 450.2 kB / 450.9 MB, free: 14.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007449/0.3269, allocations: 1.382 MB / 452.3 MB, free: 12.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.3271, allocations: 215.2 kB / 452.5 MB, free: 12.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003359/0.3274, allocations: 147.2 kB / 452.7 MB, free: 12.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004927/0.3279, allocations: 341 kB / 453 MB, free: 12.07 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.3279, allocations: 0 / 453 MB, free: 12.07 MB / 410.7 MB Notification: Performance of Templates: time 0.02094/0.3488, allocations: 20.62 MB / 473.6 MB, free: 7.535 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.6641656616702676]