Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.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.0009901/0.0009901, allocations: 80.8 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.0009814/0.0009814, allocations: 161 kB / 25.69 MB, free: 8.449 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.8235/0.8235, allocations: 158.6 MB / 187.6 MB, free: 2.805 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.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.X.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.X.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 251.6 MB, free: 7.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.347e-05/1.478e-05, allocations: 2.312 kB / 251.6 MB, free: 7.223 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.2672/0.2673, allocations: 144.9 MB / 396.5 MB, free: 9.191 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.2684, allocations: 0.8458 MB / 397.3 MB, free: 9.09 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001563/0.2686, allocations: 9.375 kB / 397.4 MB, free: 9.086 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004121/0.269, allocations: 121.3 kB / 397.5 MB, free: 9.055 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005042/0.2695, allocations: 391.2 kB / 397.9 MB, free: 9.016 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007136/0.2702, allocations: 485.2 kB / 398.3 MB, free: 8.98 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000846/0.271, allocations: 1.186 MB / 399.5 MB, free: 8.859 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.2712, allocations: 173.4 kB / 399.7 MB, free: 8.844 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00209/0.2733, allocations: 1.454 MB / 401.1 MB, free: 8.562 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004214/0.2738, allocations: 365.7 kB / 401.5 MB, free: 8.445 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.299e-05/0.2739, allocations: 65.72 kB / 401.6 MB, free: 8.445 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004464/0.2743, allocations: 248 kB / 401.8 MB, free: 8.391 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003/0.2746, allocations: 474.5 kB / 402.3 MB, free: 8.25 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003265/0.2749, allocations: 381.1 kB / 402.6 MB, free: 8.191 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008407/0.2758, allocations: 1.018 MB / 403.7 MB, free: 7.871 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2758, allocations: 3.125 kB / 403.7 MB, free: 7.871 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2758, allocations: 4 kB / 403.7 MB, free: 7.867 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.828e-05/0.2758, allocations: 0 / 403.7 MB, free: 7.867 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.0009621/0.2768, allocations: 0.9414 MB / 404.6 MB, free: 7.297 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.2768, allocations: 12.14 kB / 404.6 MB, free: 7.293 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004484/0.2772, allocations: 227.4 kB / 404.8 MB, free: 7.223 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003762/0.2776, allocations: 342.5 kB / 405.2 MB, free: 6.992 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.2776, allocations: 53.22 kB / 405.2 MB, free: 6.992 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.05e-05/0.2777, allocations: 80.59 kB / 405.3 MB, free: 6.984 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005242/0.2782, allocations: 1.083 MB / 406.4 MB, free: 6.039 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.2783, allocations: 14.86 kB / 406.4 MB, free: 6.027 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.55e-05/0.2783, allocations: 35.84 kB / 406.4 MB, free: 6.023 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.538e-05/0.2784, allocations: 42.52 kB / 406.5 MB, free: 6.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002511/0.2786, allocations: 210.2 kB / 406.7 MB, free: 5.977 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.002113/0.2807, allocations: 1.522 MB / 408.2 MB, free: 5.371 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002697/0.281, allocations: 344.4 kB / 408.5 MB, free: 5.258 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.2811, allocations: 127.5 kB / 408.7 MB, free: 5.234 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.329e-05/0.2811, allocations: 18.61 kB / 408.7 MB, free: 5.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.2812, allocations: 42.84 kB / 408.7 MB, free: 5.188 MB / 330.7 MB Notification: Performance of pre-optimization done (n=59): time 1.814e-06/0.2812, allocations: 0 / 408.7 MB, free: 5.188 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.Xi[6] 2: volume.medium.Xi[5] 3: volume.medium.Xi[4] 4: volume.medium.Xi[3] 5: volume.medium.Xi[2] 6: volume.medium.Xi[1] 7: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=71): time 0.004907/0.2861, allocations: 2.687 MB / 411.4 MB, free: 4.102 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.065e-05/0.2861, allocations: 64.12 kB / 411.5 MB, free: 4.031 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.2862, allocations: 263.8 kB / 411.7 MB, free: 3.879 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.955e-05/0.2863, allocations: 48.53 kB / 411.8 MB, free: 3.844 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.831e-05/0.2864, allocations: 273.4 kB / 412 MB, free: 3.629 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.023e-05/0.2864, allocations: 262.8 kB / 412.3 MB, free: 3.438 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.2866, allocations: 130.5 kB / 412.4 MB, free: 3.402 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.769e-05/0.2866, allocations: 357 kB / 412.8 MB, free: 3.078 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.2868, allocations: 116.7 kB / 412.9 MB, free: 3.062 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.287, allocations: 189.6 kB / 413.1 MB, free: 2.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003524/0.2873, allocations: 382.7 kB / 413.4 MB, free: 2.852 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2873, allocations: 3.938 kB / 413.5 MB, free: 2.848 MB / 330.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0005772/0.2879, allocations: 0.5303 MB / 414 MB, free: 2.613 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.2879, allocations: 5.281 kB / 414 MB, free: 2.613 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.2879, allocations: 2.25 kB / 414 MB, free: 2.613 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002422/0.2881, allocations: 172 kB / 414.2 MB, free: 2.488 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004361/0.2886, allocations: 177.7 kB / 414.3 MB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01319/0.3018, allocations: 10.98 MB / 425.3 MB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003068/0.3021, allocations: 15.38 kB / 425.3 MB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.845e-05/0.3021, allocations: 35.2 kB / 425.4 MB, free: 8.09 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * 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): 7 systems {(1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002551/0.3024, allocations: 158.9 kB / 425.5 MB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.625e-05/0.3025, allocations: 59.16 kB / 425.6 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006351/0.3031, allocations: 0.6043 MB / 426.2 MB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.3031, allocations: 12.44 kB / 426.2 MB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/0.3031, allocations: 0 / 426.2 MB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005488/0.3037, allocations: 0.9758 MB / 427.2 MB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.3049, allocations: 1.131 MB / 428.3 MB, free: 6.051 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3049, allocations: 4 kB / 428.3 MB, free: 6.047 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000537/0.3055, allocations: 210.4 kB / 428.5 MB, free: 5.848 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001015/0.3056, allocations: 43.03 kB / 428.6 MB, free: 5.805 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-05/0.3056, allocations: 33.41 kB / 428.6 MB, free: 5.785 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005854/0.3062, allocations: 1.22 MB / 429.8 MB, free: 4.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3062, allocations: 4 kB / 429.8 MB, free: 4.496 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007025/0.3069, allocations: 0.7654 MB / 430.6 MB, free: 3.754 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.407e-05/0.3069, allocations: 47.14 kB / 430.6 MB, free: 3.711 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.932e-05/0.307, allocations: 33.61 kB / 430.7 MB, free: 3.691 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002744/0.3073, allocations: 29.92 kB / 430.7 MB, free: 3.672 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.26e-05/0.3073, allocations: 59.36 kB / 430.7 MB, free: 3.621 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.736e-05/0.3074, allocations: 53.81 kB / 430.8 MB, free: 3.578 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.587e-05/0.3075, allocations: 94.44 kB / 430.9 MB, free: 3.496 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3075, allocations: 0 / 430.9 MB, free: 3.496 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006764/0.3082, allocations: 315.3 kB / 431.2 MB, free: 3.211 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],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 (77): * Single equations (assignments): 76 * 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.0007063/0.3089, allocations: 403.1 kB / 431.6 MB, free: 2.84 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000974/0.3098, allocations: 1.32 MB / 432.9 MB, free: 1.465 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/0.3098, allocations: 11.42 kB / 432.9 MB, free: 1.457 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003097/0.3102, allocations: 369.6 kB / 433.3 MB, free: 1.09 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000787/0.3109, allocations: 360.3 kB / 433.6 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.313, allocations: 1.564 MB / 435.2 MB, free: 15.31 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001455/0.3132, allocations: 201 kB / 435.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003823/0.3136, allocations: 140.6 kB / 435.5 MB, free: 14.97 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007727/0.3143, allocations: 386.2 kB / 435.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of SimCode: time 1.122e-06/0.3143, allocations: 0 / 435.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of Templates: time 0.025/0.3393, allocations: 25.14 MB / 461 MB, free: 5.754 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas_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/SimpleNaturalGas/SimpleNaturalGas.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.587987858336419]