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.0008362/0.0008362, allocations: 91.61 kB / 22.19 MB, free: 2.375 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.000809/0.000809, allocations: 158.2 kB / 25.45 MB, free: 8.859 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.8433/0.8433, allocations: 158.6 MB / 187.2 MB, free: 3.027 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.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.|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.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.|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.513e-06/1.513e-06, allocations: 0 / 299.7 MB, free: 6.973 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.613e-05/1.764e-05, allocations: 2.281 kB / 299.7 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.2596/0.2596, allocations: 151.8 MB / 451.6 MB, free: 3.844 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002763/0.2624, allocations: 3.503 MB / 455.1 MB, free: 336 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001845/0.2626, allocations: 10.19 kB / 455.1 MB, free: 328 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000595/0.2631, allocations: 234.5 kB / 455.3 MB, free: 92 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004969/0.2636, allocations: 377.7 kB / 455.7 MB, free: 15.72 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.2647, allocations: 0.5711 MB / 456.2 MB, free: 15.15 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008316/0.2655, allocations: 1.103 MB / 457.3 MB, free: 14.04 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002298/0.2657, allocations: 177.8 kB / 457.5 MB, free: 13.88 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002106/0.2678, allocations: 1.463 MB / 459 MB, free: 12.41 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000365/0.2682, allocations: 379 kB / 459.3 MB, free: 12.04 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 7.041e-05/0.2683, allocations: 68 kB / 459.4 MB, free: 11.97 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006069/0.2689, allocations: 446.9 kB / 459.9 MB, free: 11.54 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002415/0.2691, allocations: 463 kB / 460.3 MB, free: 11.08 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002622/0.2694, allocations: 391.3 kB / 460.7 MB, free: 10.7 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.2705, allocations: 1.613 MB / 462.3 MB, free: 9.082 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.2705, allocations: 0 / 462.3 MB, free: 9.082 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2705, allocations: 0 / 462.3 MB, free: 9.082 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.2705, allocations: 3.984 kB / 462.3 MB, free: 9.078 MB / 394.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.001384/0.2719, allocations: 1.003 MB / 463.3 MB, free: 8.039 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.272, allocations: 15.98 kB / 463.3 MB, free: 8.023 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003802/0.2723, allocations: 147.5 kB / 463.5 MB, free: 7.879 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000474/0.2728, allocations: 427.5 kB / 463.9 MB, free: 7.434 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.2728, allocations: 49.31 kB / 463.9 MB, free: 7.387 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.262e-05/0.2729, allocations: 67.95 kB / 464 MB, free: 7.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.274, allocations: 1.562 MB / 465.6 MB, free: 5.605 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.274, allocations: 1.031 kB / 465.6 MB, free: 5.605 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.517e-05/0.274, allocations: 32 kB / 465.6 MB, free: 5.574 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.909e-05/0.2741, allocations: 45.92 kB / 465.6 MB, free: 5.527 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008074/0.2749, allocations: 0.8745 MB / 466.5 MB, free: 4.652 MB / 394.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.002633/0.2775, allocations: 2.091 MB / 468.6 MB, free: 2.523 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005464/0.2781, allocations: 0.6005 MB / 469.2 MB, free: 1.914 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002956/0.2784, allocations: 350 kB / 469.5 MB, free: 1.57 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.034e-05/0.2784, allocations: 16.48 kB / 469.6 MB, free: 1.555 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.2784, allocations: 43.06 kB / 469.6 MB, free: 1.504 MB / 394.7 MB Notification: Performance of pre-optimization done (n=59): time 1.824e-06/0.2784, allocations: 4 kB / 469.6 MB, free: 1.5 MB / 394.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.007697/0.2861, allocations: 4.89 MB / 474.5 MB, free: 12.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.2862, allocations: 56.06 kB / 474.6 MB, free: 12.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/0.2864, allocations: 357.8 kB / 474.9 MB, free: 12.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.22e-05/0.2865, allocations: 41.7 kB / 474.9 MB, free: 12.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.2866, allocations: 304.6 kB / 475.2 MB, free: 11.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.2868, allocations: 261.8 kB / 475.5 MB, free: 11.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/0.2869, allocations: 146.6 kB / 475.6 MB, free: 11.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.287, allocations: 362.7 kB / 476 MB, free: 10.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004225/0.2875, allocations: 437.8 kB / 476.4 MB, free: 10.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000457/0.2879, allocations: 0.5194 MB / 476.9 MB, free: 10 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.289, allocations: 0.9642 MB / 477.9 MB, free: 9.023 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.289, allocations: 3.984 kB / 477.9 MB, free: 9.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001253/0.2902, allocations: 1.332 MB / 479.2 MB, free: 7.652 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.2902, allocations: 8.156 kB / 479.2 MB, free: 7.645 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.2902, allocations: 0 / 479.2 MB, free: 7.645 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000373/0.2906, allocations: 330.6 kB / 479.6 MB, free: 7.297 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004929/0.2911, allocations: 183.7 kB / 479.7 MB, free: 7.117 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004997/0.2961, allocations: 10.06 MB / 489.8 MB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.2963, allocations: 23.92 kB / 489.8 MB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.658e-05/0.2964, allocations: 43.98 kB / 489.9 MB, free: 12.26 MB / 426.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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 8 systems {(1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002933/0.2967, allocations: 269.6 kB / 490.1 MB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.888e-05/0.2968, allocations: 55.66 kB / 490.2 MB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.2981, allocations: 1.262 MB / 491.5 MB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.2981, allocations: 11.98 kB / 491.5 MB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.2981, allocations: 3.938 kB / 491.5 MB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00138/0.2995, allocations: 1.606 MB / 493.1 MB, free: 8.848 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001919/0.3014, allocations: 1.998 MB / 495.1 MB, free: 6.797 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3014, allocations: 2.688 kB / 495.1 MB, free: 6.797 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005425/0.3019, allocations: 223.8 kB / 495.3 MB, free: 6.578 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001095/0.302, allocations: 64.78 kB / 495.4 MB, free: 6.512 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.651e-05/0.3021, allocations: 43.91 kB / 495.4 MB, free: 6.469 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000682/0.3028, allocations: 1.408 MB / 496.8 MB, free: 4.961 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3028, allocations: 0 / 496.8 MB, free: 4.961 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/0.3042, allocations: 1.583 MB / 498.4 MB, free: 3.348 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.974e-05/0.3042, allocations: 39.72 kB / 498.4 MB, free: 3.309 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.323e-05/0.3043, allocations: 32.14 kB / 498.5 MB, free: 3.277 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/0.3045, allocations: 39.97 kB / 498.5 MB, free: 3.238 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.953e-05/0.3046, allocations: 60.48 kB / 498.6 MB, free: 3.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.48e-05/0.3047, allocations: 63.94 kB / 498.6 MB, free: 3.117 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003305/0.305, allocations: 257.2 kB / 498.9 MB, free: 2.867 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.305, allocations: 0 / 498.9 MB, free: 2.867 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008346/0.3058, allocations: 331.7 kB / 499.2 MB, free: 2.543 MB / 426.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.0009226/0.3068, allocations: 0.5025 MB / 499.7 MB, free: 2.031 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001512/0.3083, allocations: 1.826 MB / 0.4898 GB, free: 120 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.3083, allocations: 4 kB / 0.4898 GB, free: 116 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005929/0.3089, allocations: 0.6587 MB / 0.4904 GB, free: 15.43 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008919/0.3098, allocations: 349.2 kB / 0.4908 GB, free: 15.09 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/0.312, allocations: 2.063 MB / 0.4928 GB, free: 12.99 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.3123, allocations: 376.1 kB / 0.4931 GB, free: 12.59 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002545/0.3125, allocations: 84.47 kB / 0.4932 GB, free: 12.51 MB / 442.7 MB Notification: Performance of SimCode: time 5.91e-07/0.3125, allocations: 0 / 0.4932 GB, free: 12.51 MB / 442.7 MB Notification: Performance of Templates: time 0.01902/0.3316, allocations: 25.32 MB / 0.5179 GB, free: 3.137 MB / 458.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.5087818913161755]