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.0009825/0.0009825, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.0009655/0.0009655, allocations: 162.9 kB / 25.32 MB, free: 9.059 MB / 18.57 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.9742/0.9742, allocations: 158.6 MB / 187.2 MB, free: 2.945 MB / 170.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 1.793e-06/1.793e-06, allocations: 0 / 251.1 MB, free: 7.465 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.517e-05/5.697e-05, allocations: 2.312 kB / 251.1 MB, free: 7.461 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.2824/0.2824, allocations: 145.7 MB / 396.8 MB, free: 10.26 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.2838, allocations: 0.8174 MB / 397.6 MB, free: 10.18 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001675/0.2839, allocations: 6.875 kB / 397.6 MB, free: 10.18 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004913/0.2844, allocations: 117.2 kB / 397.7 MB, free: 10.14 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005547/0.285, allocations: 394.6 kB / 398.1 MB, free: 10.11 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008747/0.2859, allocations: 485.3 kB / 398.6 MB, free: 10.07 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001088/0.287, allocations: 1.196 MB / 399.8 MB, free: 9.891 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.2871, allocations: 75.81 kB / 399.8 MB, free: 9.879 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002308/0.2894, allocations: 1.429 MB / 401.3 MB, free: 9.465 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003362/0.2898, allocations: 315.6 kB / 401.6 MB, free: 9.363 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.541e-05/0.2899, allocations: 43.28 kB / 401.6 MB, free: 9.363 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003986/0.2903, allocations: 229.3 kB / 401.8 MB, free: 9.309 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.2904, allocations: 250.1 kB / 402.1 MB, free: 9.23 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002031/0.2906, allocations: 247.2 kB / 402.3 MB, free: 9.188 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006735/0.2913, allocations: 0.7206 MB / 403 MB, free: 8.961 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2913, allocations: 4 kB / 403 MB, free: 8.957 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2913, allocations: 0 / 403 MB, free: 8.957 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.2913, allocations: 0 / 403 MB, free: 8.957 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.0008345/0.2921, allocations: 0.8344 MB / 403.9 MB, free: 8.359 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.2922, allocations: 8.5 kB / 403.9 MB, free: 8.359 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004681/0.2926, allocations: 188.2 kB / 404.1 MB, free: 8.293 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003489/0.293, allocations: 314.5 kB / 404.4 MB, free: 8.074 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.293, allocations: 29 kB / 404.4 MB, free: 8.074 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.818e-05/0.2931, allocations: 52.28 kB / 404.5 MB, free: 8.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005223/0.2936, allocations: 0.985 MB / 405.4 MB, free: 7.145 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.2936, allocations: 3.938 kB / 405.4 MB, free: 7.141 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.13e-05/0.2937, allocations: 26.16 kB / 405.5 MB, free: 7.137 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.2937, allocations: 8.375 kB / 405.5 MB, free: 7.137 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002443/0.2939, allocations: 190.6 kB / 405.7 MB, free: 7.102 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.001841/0.2958, allocations: 1.571 MB / 407.2 MB, free: 6.16 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.2959, allocations: 120.3 kB / 407.3 MB, free: 6.109 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.475e-05/0.296, allocations: 55.78 kB / 407.4 MB, free: 6.086 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.296, allocations: 9.219 kB / 407.4 MB, free: 6.086 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.296, allocations: 36.8 kB / 407.4 MB, free: 6.043 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 1.814e-06/0.296, allocations: 3.984 kB / 407.5 MB, free: 6.039 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.003054/0.2991, allocations: 1.277 MB / 408.7 MB, free: 5.328 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.833e-05/0.2991, allocations: 61.94 kB / 408.8 MB, free: 5.262 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/0.2994, allocations: 478.5 kB / 409.3 MB, free: 5.004 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.2994, allocations: 35.69 kB / 409.3 MB, free: 4.969 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.2995, allocations: 382.2 kB / 409.7 MB, free: 4.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.2996, allocations: 84.27 kB / 409.7 MB, free: 4.621 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.2997, allocations: 136 kB / 409.9 MB, free: 4.574 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.384e-05/0.2997, allocations: 0.5286 MB / 410.4 MB, free: 4.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.238e-05/0.2998, allocations: 66.05 kB / 410.5 MB, free: 4.055 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.3, allocations: 0.5026 MB / 411 MB, free: 3.469 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004119/0.3005, allocations: 0.6123 MB / 411.6 MB, free: 2.852 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3005, allocations: 2.719 kB / 411.6 MB, free: 2.852 MB / 330.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005187/0.301, allocations: 0.541 MB / 412.1 MB, free: 2.645 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.301, allocations: 11.78 kB / 412.1 MB, free: 2.645 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.301, allocations: 12.69 kB / 412.2 MB, free: 2.641 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001585/0.3012, allocations: 54.73 kB / 412.2 MB, free: 2.613 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/0.3014, allocations: 140.1 kB / 412.3 MB, free: 2.586 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007186/0.3022, allocations: 2.557 MB / 414.9 MB, free: 4 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.3024, allocations: 25.39 kB / 414.9 MB, free: 0 / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.3024, allocations: 37.5 kB / 415 MB, free: 0 / 330.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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001451/0.3025, allocations: 204.8 kB / 415.2 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.735e-05/0.3026, allocations: 56.16 kB / 415.2 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003187/0.3029, allocations: 248.4 kB / 415.5 MB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.3029, allocations: 2.625 kB / 415.5 MB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.3029, allocations: 2.844 kB / 415.5 MB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000321/0.3032, allocations: 495.2 kB / 416 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005801/0.3038, allocations: 0.6097 MB / 416.6 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3038, allocations: 0 / 416.6 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.304, allocations: 52.19 kB / 416.6 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.004e-05/0.304, allocations: 27.02 kB / 416.6 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.3041, allocations: 10.11 kB / 416.6 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006808/0.3047, allocations: 1.721 MB / 418.4 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3047, allocations: 3.938 kB / 418.4 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003488/0.3051, allocations: 413 kB / 418.8 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.969e-05/0.3051, allocations: 39.25 kB / 418.8 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.3052, allocations: 6.156 kB / 418.8 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.3053, allocations: 10.31 kB / 418.8 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.877e-05/0.3053, allocations: 13.66 kB / 418.8 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.3053, allocations: 18.33 kB / 418.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001749/0.3055, allocations: 279.8 kB / 419.1 MB, free: 12.58 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3055, allocations: 0 / 419.1 MB, free: 12.58 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004646/0.306, allocations: 198.6 kB / 419.3 MB, free: 12.56 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.0006818/0.3067, allocations: 384.1 kB / 419.7 MB, free: 12.36 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000506/0.3072, allocations: 458.5 kB / 420.2 MB, free: 12.09 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3072, allocations: 0 / 420.2 MB, free: 12.09 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.3073, allocations: 246.2 kB / 420.4 MB, free: 11.89 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000557/0.3079, allocations: 194.1 kB / 420.6 MB, free: 11.82 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.3091, allocations: 0.7531 MB / 421.3 MB, free: 11.34 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.392e-05/0.3092, allocations: 118.3 kB / 421.5 MB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002686/0.3095, allocations: 132.7 kB / 421.6 MB, free: 11.17 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.11e-05/0.3095, allocations: 41 kB / 421.6 MB, free: 11.16 MB / 346.7 MB Notification: Performance of SimCode: time 5.91e-07/0.3095, allocations: 0 / 421.6 MB, free: 11.16 MB / 346.7 MB Notification: Performance of Templates: time 0.01316/0.3227, allocations: 11 MB / 432.6 MB, free: 3.988 MB / 346.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 -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.3623915067873895]