Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.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.001153/0.001153, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001748/0.002901, allocations: 445.7 kB / 10.37 MB, free: 328 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.001161/0.001161, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001427/0.002588, allocations: 463.6 kB / 11.71 MB, free: 2.453 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.9884/0.9884, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1465/1.135, allocations: 49.49 MB / 220.6 MB, free: 1.449 MB / 218.7 MB " [Timeout remaining time 179] 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(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.414e-06/2.414e-06, allocations: 0 / 221.9 MB, free: 128 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.001e-05/3.242e-05, allocations: 2.312 kB / 221.9 MB, free: 124 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.2742/0.2742, allocations: 145.4 MB / 367.3 MB, free: 13.56 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.2759, allocations: 0.851 MB / 368.2 MB, free: 12.73 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000197/0.2761, allocations: 8 kB / 368.2 MB, free: 12.73 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003686/0.2765, allocations: 111.3 kB / 368.3 MB, free: 12.62 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005566/0.2771, allocations: 401.6 kB / 368.7 MB, free: 12.22 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.2781, allocations: 478.7 kB / 369.2 MB, free: 11.75 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001194/0.2793, allocations: 1.208 MB / 370.4 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.2795, allocations: 74.86 kB / 370.4 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002525/0.282, allocations: 1.412 MB / 371.8 MB, free: 9.051 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000343/0.2824, allocations: 291.2 kB / 372.1 MB, free: 8.766 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.141e-05/0.2824, allocations: 47.94 kB / 372.2 MB, free: 8.719 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004555/0.2829, allocations: 235.5 kB / 372.4 MB, free: 8.488 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.283, allocations: 203.6 kB / 372.6 MB, free: 8.289 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001825/0.2832, allocations: 191.8 kB / 372.8 MB, free: 8.102 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000669/0.2839, allocations: 0.6427 MB / 373.4 MB, free: 7.457 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.474e-05/0.2839, allocations: 0 / 373.4 MB, free: 7.457 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2839, allocations: 3.938 kB / 373.4 MB, free: 7.453 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.747e-05/0.2839, allocations: 0 / 373.4 MB, free: 7.453 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0008918/0.2848, allocations: 0.8269 MB / 374.3 MB, free: 6.602 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.2848, allocations: 12.03 kB / 374.3 MB, free: 6.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004226/0.2853, allocations: 253.5 kB / 374.5 MB, free: 6.324 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/0.2856, allocations: 264.5 kB / 374.8 MB, free: 6.035 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.2856, allocations: 29.56 kB / 374.8 MB, free: 6.008 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.039e-05/0.2857, allocations: 51.92 kB / 374.9 MB, free: 5.957 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005569/0.2862, allocations: 0.9596 MB / 375.8 MB, free: 4.828 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.2862, allocations: 0 / 375.8 MB, free: 4.828 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.921e-05/0.2863, allocations: 20 kB / 375.8 MB, free: 4.809 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.2863, allocations: 12 kB / 375.9 MB, free: 4.797 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001646/0.2865, allocations: 133.2 kB / 376 MB, free: 4.668 MB / 330.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.001794/0.2883, allocations: 1.173 MB / 377.2 MB, free: 3.465 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.2884, allocations: 91.22 kB / 377.2 MB, free: 3.367 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.739e-05/0.2884, allocations: 44.84 kB / 377.3 MB, free: 3.32 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.2885, allocations: 4 kB / 377.3 MB, free: 3.316 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.2885, allocations: 34.55 kB / 377.3 MB, free: 3.273 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.2885, allocations: 0 / 377.3 MB, free: 3.273 MB / 330.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.002493/0.291, allocations: 1.068 MB / 378.4 MB, free: 2.133 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.291, allocations: 55.41 kB / 378.5 MB, free: 2.066 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.2912, allocations: 374.9 kB / 378.8 MB, free: 1.688 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.2912, allocations: 33.7 kB / 378.9 MB, free: 1.648 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.2914, allocations: 307.7 kB / 379.2 MB, free: 1.344 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.85e-05/0.2914, allocations: 103.1 kB / 379.3 MB, free: 1.242 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.167e-05/0.2915, allocations: 118.2 kB / 379.4 MB, free: 1.121 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.331e-05/0.2916, allocations: 354.7 kB / 379.7 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.159e-05/0.2917, allocations: 49.22 kB / 379.8 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/0.2918, allocations: 356.8 kB / 380.1 MB, free: 232 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003048/0.2921, allocations: 478.4 kB / 380.6 MB, free: 15.61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.2921, allocations: 4 kB / 380.6 MB, free: 15.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0003866/0.2925, allocations: 426.7 kB / 381 MB, free: 15.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.2925, allocations: 8 kB / 381 MB, free: 15.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.2926, allocations: 12.81 kB / 381 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001136/0.2927, allocations: 45.7 kB / 381.1 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003397/0.293, allocations: 171.7 kB / 381.2 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/0.2942, allocations: 2.435 MB / 383.7 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.2944, allocations: 20 kB / 383.7 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.243e-05/0.2944, allocations: 36 kB / 383.7 MB, free: 12.27 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.2945, allocations: 164.5 kB / 383.9 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.2946, allocations: 27.97 kB / 383.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001947/0.2948, allocations: 190.9 kB / 384.1 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2948, allocations: 0 / 384.1 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.2948, allocations: 8 kB / 384.1 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001998/0.295, allocations: 444.4 kB / 384.5 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004229/0.2954, allocations: 407.1 kB / 384.9 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2954, allocations: 0 / 384.9 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001963/0.2956, allocations: 67.94 kB / 385 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.429e-05/0.2956, allocations: 35.75 kB / 385 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.118e-05/0.2957, allocations: 20.84 kB / 385.1 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.2957, allocations: 11.94 kB / 385.1 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004838/0.2962, allocations: 1.154 MB / 386.2 MB, free: 9.539 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2962, allocations: 0 / 386.2 MB, free: 9.539 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.2964, allocations: 296.5 kB / 386.5 MB, free: 9.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.376e-05/0.2965, allocations: 12.14 kB / 386.5 MB, free: 9.219 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.2966, allocations: 8 kB / 386.5 MB, free: 9.211 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.26e-05/0.2966, allocations: 15.97 kB / 386.5 MB, free: 9.195 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.2966, allocations: 7.984 kB / 386.6 MB, free: 9.188 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.776e-05/0.2967, allocations: 140.7 kB / 386.7 MB, free: 9.055 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2967, allocations: 0 / 386.7 MB, free: 9.055 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004514/0.2972, allocations: 199.8 kB / 386.9 MB, free: 8.859 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (23): * Single equations (assignments): 22 * 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): 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.0005646/0.2977, allocations: 302.5 kB / 387.2 MB, free: 8.555 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004102/0.2981, allocations: 468.2 kB / 387.6 MB, free: 8.074 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.838e-05/0.2982, allocations: 8.5 kB / 387.6 MB, free: 8.066 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.2983, allocations: 175.4 kB / 387.8 MB, free: 7.879 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005065/0.2988, allocations: 240.5 kB / 388.1 MB, free: 7.641 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004261/0.303, allocations: 0.7425 MB / 388.8 MB, free: 6.863 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.22e-05/0.3031, allocations: 125.2 kB / 388.9 MB, free: 6.719 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002382/0.3034, allocations: 92.39 kB / 389 MB, free: 6.629 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002974/0.3037, allocations: 189.2 kB / 389.2 MB, free: 6.441 MB / 346.7 MB Notification: Performance of SimCode: time 1.192e-06/0.3037, allocations: 0 / 389.2 MB, free: 6.441 MB / 346.7 MB Notification: Performance of Templates: time 0.0149/0.3186, allocations: 12.91 MB / 402.1 MB, free: 9.535 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/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.244860296137631]