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.001038/0.001038, allocations: 79.75 kB / 22.45 MB, free: 2.09 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.001305/0.001305, allocations: 168 kB / 25.75 MB, free: 8.961 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.9692/0.9692, allocations: 158.6 MB / 187.5 MB, free: 2.508 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.743e-06/1.743e-06, allocations: 0 / 251.2 MB, free: 7.707 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.486e-05/3.66e-05, allocations: 2.312 kB / 251.2 MB, free: 7.703 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.2936/0.2936, allocations: 169.1 MB / 420.3 MB, free: 6.168 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003412/0.297, allocations: 3.918 MB / 424.2 MB, free: 5.379 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002146/0.2973, allocations: 6.844 kB / 424.2 MB, free: 5.375 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006549/0.2979, allocations: 225.2 kB / 424.4 MB, free: 5.207 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005937/0.2985, allocations: 382.8 kB / 424.8 MB, free: 4.961 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.2996, allocations: 0.5603 MB / 425.4 MB, free: 4.617 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009824/0.3006, allocations: 1.121 MB / 426.5 MB, free: 4.031 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.3008, allocations: 81.14 kB / 426.6 MB, free: 3.984 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002412/0.3032, allocations: 1.42 MB / 428 MB, free: 3.211 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004173/0.3036, allocations: 309 kB / 428.3 MB, free: 3.086 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.622e-05/0.3037, allocations: 47.19 kB / 428.3 MB, free: 3.082 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008242/0.3045, allocations: 422.5 kB / 428.7 MB, free: 2.922 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001721/0.3047, allocations: 248 kB / 429 MB, free: 2.766 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002007/0.3049, allocations: 247.9 kB / 429.2 MB, free: 2.668 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000927/0.3058, allocations: 0.8384 MB / 430.1 MB, free: 2.25 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3058, allocations: 0 / 430.1 MB, free: 2.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3058, allocations: 0 / 430.1 MB, free: 2.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.3058, allocations: 0 / 430.1 MB, free: 2.25 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.0009286/0.3068, allocations: 0.8444 MB / 430.9 MB, free: 1.566 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.3068, allocations: 11.5 kB / 430.9 MB, free: 1.566 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000518/0.3073, allocations: 197.3 kB / 431.1 MB, free: 1.465 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.3076, allocations: 314.1 kB / 431.4 MB, free: 1.203 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.3077, allocations: 27.38 kB / 431.4 MB, free: 1.191 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.116e-05/0.3077, allocations: 50.41 kB / 431.5 MB, free: 1.176 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00051/0.3082, allocations: 0.9836 MB / 432.5 MB, free: 188 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.3083, allocations: 3.938 kB / 432.5 MB, free: 184 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.18e-05/0.3083, allocations: 17.41 kB / 432.5 MB, free: 172 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.3083, allocations: 12.91 kB / 432.5 MB, free: 168 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002531/0.3086, allocations: 190.2 kB / 432.7 MB, free: 112 kB / 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.002113/0.3107, allocations: 1.585 MB / 434.3 MB, free: 14.9 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.3108, allocations: 115.2 kB / 434.4 MB, free: 14.83 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.166e-05/0.3109, allocations: 54.69 kB / 434.4 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.3109, allocations: 3.344 kB / 434.4 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.311, allocations: 43.92 kB / 434.5 MB, free: 14.75 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 1.844e-06/0.311, allocations: 0 / 434.5 MB, free: 14.75 MB / 346.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.003596/0.3146, allocations: 1.276 MB / 435.8 MB, free: 13.68 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.3146, allocations: 59.34 kB / 435.8 MB, free: 13.61 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003343/0.3149, allocations: 482.3 kB / 436.3 MB, free: 13.12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.3149, allocations: 29.7 kB / 436.3 MB, free: 13.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.3151, allocations: 382.7 kB / 436.7 MB, free: 12.71 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.913e-05/0.3152, allocations: 91.27 kB / 436.8 MB, free: 12.62 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.3153, allocations: 135.9 kB / 436.9 MB, free: 12.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3154, allocations: 0.5274 MB / 437.4 MB, free: 11.94 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.3155, allocations: 69.2 kB / 437.5 MB, free: 11.87 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000275/0.3158, allocations: 0.4978 MB / 438 MB, free: 11.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004494/0.3162, allocations: 0.6178 MB / 438.6 MB, free: 10.36 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.3162, allocations: 4 kB / 438.6 MB, free: 10.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005978/0.3168, allocations: 0.54 MB / 439.2 MB, free: 9.805 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.3169, allocations: 15.94 kB / 439.2 MB, free: 9.789 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.3169, allocations: 8 kB / 439.2 MB, free: 9.781 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001452/0.317, allocations: 59.34 kB / 439.3 MB, free: 9.715 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/0.3173, allocations: 139.8 kB / 439.4 MB, free: 9.578 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001102/0.3184, allocations: 2.556 MB / 441.9 MB, free: 6.867 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.3186, allocations: 20 kB / 442 MB, free: 6.848 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-05/0.3187, allocations: 40 kB / 442 MB, free: 6.809 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003255/0.319, allocations: 196.3 kB / 442.2 MB, free: 6.605 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.469e-05/0.3191, allocations: 51.72 kB / 442.2 MB, free: 6.555 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003548/0.3194, allocations: 248.7 kB / 442.5 MB, free: 6.289 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.3194, allocations: 4 kB / 442.5 MB, free: 6.285 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.3194, allocations: 0 / 442.5 MB, free: 6.285 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003547/0.3198, allocations: 499.3 kB / 443 MB, free: 5.707 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007328/0.3205, allocations: 0.6166 MB / 443.6 MB, free: 5.051 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3205, allocations: 0 / 443.6 MB, free: 5.051 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001637/0.3207, allocations: 59.94 kB / 443.7 MB, free: 4.992 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.615e-05/0.3207, allocations: 19.67 kB / 443.7 MB, free: 4.969 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.3208, allocations: 8 kB / 443.7 MB, free: 4.961 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006718/0.3214, allocations: 1.724 MB / 445.4 MB, free: 3.117 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3214, allocations: 4 kB / 445.4 MB, free: 3.113 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003652/0.3218, allocations: 411 kB / 445.8 MB, free: 2.688 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.485e-05/0.3218, allocations: 39.7 kB / 445.8 MB, free: 2.648 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.3219, allocations: 11.94 kB / 445.9 MB, free: 2.637 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.322, allocations: 11.98 kB / 445.9 MB, free: 2.625 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.3221, allocations: 15.97 kB / 445.9 MB, free: 2.609 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.3221, allocations: 19.98 kB / 445.9 MB, free: 2.59 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001874/0.3223, allocations: 279.2 kB / 446.2 MB, free: 2.316 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3223, allocations: 0 / 446.2 MB, free: 2.316 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005967/0.3229, allocations: 211.7 kB / 446.4 MB, free: 2.109 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.0008613/0.3237, allocations: 463.3 kB / 446.8 MB, free: 1.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005438/0.3243, allocations: 457 kB / 447.3 MB, free: 1.199 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3243, allocations: 448 / 447.3 MB, free: 1.199 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.3244, allocations: 257.3 kB / 447.5 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005825/0.325, allocations: 192.1 kB / 447.7 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.3262, allocations: 0.737 MB / 448.5 MB, free: 15.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.326e-05/0.3263, allocations: 125.2 kB / 448.6 MB, free: 15.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002823/0.3266, allocations: 128.3 kB / 448.7 MB, free: 15.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.8e-05/0.3267, allocations: 36.5 kB / 448.7 MB, free: 15.68 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/0.3267, allocations: 0 / 448.7 MB, free: 15.68 MB / 362.7 MB Notification: Performance of Templates: time 0.01432/0.341, allocations: 11.95 MB / 460.7 MB, free: 3.758 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 -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.497430332005024]