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.001035/0.001035, allocations: 76.94 kB / 22.28 MB, free: 2.211 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.001165/0.001165, allocations: 169.2 kB / 25.7 MB, free: 7.945 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 1.016/1.016, allocations: 158.6 MB / 187.6 MB, free: 2.793 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.803e-06/1.803e-06, allocations: 0 / 251.6 MB, free: 7.172 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.024e-05/3.204e-05, allocations: 2.312 kB / 251.6 MB, free: 7.168 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3003/0.3003, allocations: 145.1 MB / 396.7 MB, free: 9.23 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.3015, allocations: 0.8342 MB / 397.5 MB, free: 9.133 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.3016, allocations: 9.844 kB / 397.5 MB, free: 9.129 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004012/0.302, allocations: 118.7 kB / 397.7 MB, free: 9.098 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005542/0.3026, allocations: 392.8 kB / 398 MB, free: 9.059 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008056/0.3034, allocations: 479.1 kB / 398.5 MB, free: 9.023 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008803/0.3042, allocations: 1.194 MB / 399.7 MB, free: 8.898 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.3044, allocations: 76.11 kB / 399.8 MB, free: 8.883 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00197/0.3064, allocations: 1.423 MB / 401.2 MB, free: 8.594 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003659/0.3067, allocations: 290.2 kB / 401.5 MB, free: 8.496 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.955e-05/0.3068, allocations: 46.72 kB / 401.5 MB, free: 8.496 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004118/0.3072, allocations: 231.8 kB / 401.8 MB, free: 8.438 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.3074, allocations: 246 kB / 402 MB, free: 8.363 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001812/0.3075, allocations: 246.8 kB / 402.2 MB, free: 8.32 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006477/0.3082, allocations: 0.7204 MB / 403 MB, free: 8.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3082, allocations: 0 / 403 MB, free: 8.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3082, allocations: 6.75 kB / 403 MB, free: 8.086 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.3082, allocations: 0 / 403 MB, free: 8.086 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.000664/0.3089, allocations: 0.688 MB / 403.7 MB, free: 7.633 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.3089, allocations: 8.719 kB / 403.7 MB, free: 7.633 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003992/0.3093, allocations: 188.7 kB / 403.9 MB, free: 7.566 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.3096, allocations: 263.1 kB / 404.1 MB, free: 7.367 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.3096, allocations: 25.47 kB / 404.1 MB, free: 7.367 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.071e-05/0.3097, allocations: 53.42 kB / 404.2 MB, free: 7.363 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004102/0.3101, allocations: 0.9491 MB / 405.1 MB, free: 6.441 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.3101, allocations: 3.938 kB / 405.1 MB, free: 6.438 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.871e-05/0.3101, allocations: 19.59 kB / 405.2 MB, free: 6.438 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.3101, allocations: 15.16 kB / 405.2 MB, free: 6.434 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.3103, allocations: 136.3 kB / 405.3 MB, free: 6.406 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.001442/0.3117, allocations: 1.177 MB / 406.5 MB, free: 5.758 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.3118, allocations: 92.78 kB / 406.6 MB, free: 5.719 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.372e-05/0.3119, allocations: 42.48 kB / 406.6 MB, free: 5.707 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.3119, allocations: 6.844 kB / 406.6 MB, free: 5.703 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.3119, allocations: 36.69 kB / 406.7 MB, free: 5.664 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 1.262e-06/0.3119, allocations: 0 / 406.7 MB, free: 5.664 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.002473/0.3144, allocations: 1.102 MB / 407.8 MB, free: 5.027 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.292e-05/0.3144, allocations: 54 kB / 407.8 MB, free: 4.965 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.3146, allocations: 384.7 kB / 408.2 MB, free: 4.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.3147, allocations: 31.02 kB / 408.2 MB, free: 4.738 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.3148, allocations: 304 kB / 408.5 MB, free: 4.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.331e-05/0.3148, allocations: 96.83 kB / 408.6 MB, free: 4.43 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.903e-05/0.3149, allocations: 118.2 kB / 408.7 MB, free: 4.398 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.915e-05/0.315, allocations: 352 kB / 409.1 MB, free: 4.074 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.582e-05/0.315, allocations: 52.09 kB / 409.1 MB, free: 4.062 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.3152, allocations: 357.3 kB / 409.5 MB, free: 3.664 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002703/0.3155, allocations: 475.4 kB / 409.9 MB, free: 3.207 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.3155, allocations: 5.344 kB / 409.9 MB, free: 3.207 MB / 330.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0003667/0.3158, allocations: 425.5 kB / 410.4 MB, free: 3.012 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.3158, allocations: 8.375 kB / 410.4 MB, free: 3.012 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.3159, allocations: 15 kB / 410.4 MB, free: 3.008 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001086/0.316, allocations: 52.22 kB / 410.4 MB, free: 2.984 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003172/0.3163, allocations: 153.3 kB / 410.6 MB, free: 2.953 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01018/0.3265, allocations: 3.986 MB / 414.6 MB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.3267, allocations: 21.56 kB / 414.6 MB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.3267, allocations: 33.56 kB / 414.6 MB, free: 15.76 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.0001248/0.3268, allocations: 157 kB / 414.8 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.401e-05/0.3269, allocations: 38.08 kB / 414.8 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001992/0.3271, allocations: 190.2 kB / 415 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.3271, allocations: 2.906 kB / 415 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.3271, allocations: 4 kB / 415 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002169/0.3273, allocations: 453.8 kB / 415.4 MB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004098/0.3277, allocations: 403.5 kB / 415.8 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3277, allocations: 0 / 415.8 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.3279, allocations: 62.62 kB / 415.9 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.439e-05/0.328, allocations: 21.67 kB / 415.9 MB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.328, allocations: 13.33 kB / 415.9 MB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004719/0.3284, allocations: 1.153 MB / 417.1 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3284, allocations: 0 / 417.1 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.3287, allocations: 289.9 kB / 417.4 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.383e-05/0.3287, allocations: 32.61 kB / 417.4 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/0.3287, allocations: 5.75 kB / 417.4 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.3288, allocations: 14.3 kB / 417.4 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.404e-05/0.3289, allocations: 13.22 kB / 417.4 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.3289, allocations: 20.02 kB / 417.4 MB, free: 13.36 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.326e-05/0.329, allocations: 137.2 kB / 417.6 MB, free: 13.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.329, allocations: 0 / 417.6 MB, free: 13.32 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004026/0.3294, allocations: 197.6 kB / 417.8 MB, free: 13.31 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.0006014/0.33, allocations: 357.4 kB / 418.1 MB, free: 13.12 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003708/0.3304, allocations: 466.1 kB / 418.6 MB, free: 12.82 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/0.3304, allocations: 5.688 kB / 418.6 MB, free: 12.82 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.3305, allocations: 186.5 kB / 418.8 MB, free: 12.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005099/0.331, allocations: 188.4 kB / 419 MB, free: 12.6 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.3321, allocations: 0.7407 MB / 419.7 MB, free: 12.14 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.221e-05/0.3322, allocations: 122.7 kB / 419.8 MB, free: 12.04 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001995/0.3324, allocations: 86.47 kB / 419.9 MB, free: 11.99 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003317/0.3327, allocations: 194.6 kB / 420.1 MB, free: 11.9 MB / 346.7 MB Notification: Performance of SimCode: time 7.32e-07/0.3327, allocations: 0 / 420.1 MB, free: 11.9 MB / 346.7 MB Notification: Performance of Templates: time 0.01382/0.3465, allocations: 13.01 MB / 433.1 MB, free: 0.9375 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 -s gbode -gbm=radauIIA3 -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.3613389120437205]