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.001284/0.001284, allocations: 85.08 kB / 23 MB, free: 1.504 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.001449/0.001449, allocations: 173.1 kB / 26.39 MB, free: 8 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.018/1.018, allocations: 158.6 MB / 188.3 MB, free: 2.82 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.573e-06/1.573e-06, allocations: 0 / 252.3 MB, free: 7.195 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.433e-05/1.59e-05, allocations: 2.312 kB / 252.3 MB, free: 7.191 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.2726/0.2727, allocations: 142.8 MB / 395.1 MB, free: 10.58 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008562/0.2735, allocations: 0.8083 MB / 395.9 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.2736, allocations: 9.375 kB / 395.9 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004006/0.274, allocations: 124.4 kB / 396.1 MB, free: 10.47 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004231/0.2745, allocations: 392.8 kB / 396.4 MB, free: 10.43 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006351/0.2751, allocations: 490.2 kB / 396.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006509/0.2758, allocations: 1.184 MB / 398.1 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001889/0.2759, allocations: 172.7 kB / 398.3 MB, free: 10.26 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001568/0.2775, allocations: 1.471 MB / 399.7 MB, free: 10.07 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003098/0.2778, allocations: 383 kB / 400.1 MB, free: 9.98 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.345e-05/0.2779, allocations: 66.19 kB / 400.2 MB, free: 9.98 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000325/0.2782, allocations: 252 kB / 400.4 MB, free: 9.922 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002117/0.2784, allocations: 469.9 kB / 400.9 MB, free: 9.789 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002493/0.2787, allocations: 384.8 kB / 401.3 MB, free: 9.727 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006974/0.2794, allocations: 1.017 MB / 402.3 MB, free: 9.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2794, allocations: 2.656 kB / 402.3 MB, free: 9.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2794, allocations: 0 / 402.3 MB, free: 9.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.2794, allocations: 0 / 402.3 MB, free: 9.41 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.0008951/0.2803, allocations: 1.107 MB / 403.4 MB, free: 8.699 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.898e-05/0.2803, allocations: 12.2 kB / 403.4 MB, free: 8.695 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004165/0.2807, allocations: 236.6 kB / 403.6 MB, free: 8.613 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.2811, allocations: 379.6 kB / 404 MB, free: 8.371 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.2811, allocations: 46.22 kB / 404.1 MB, free: 8.371 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.772e-05/0.2812, allocations: 83.36 kB / 404.1 MB, free: 8.367 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005257/0.2817, allocations: 1.056 MB / 405.2 MB, free: 7.438 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.2817, allocations: 7.891 kB / 405.2 MB, free: 7.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.528e-05/0.2818, allocations: 34.28 kB / 405.2 MB, free: 7.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.452e-05/0.2818, allocations: 46.09 kB / 405.3 MB, free: 7.422 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002764/0.2821, allocations: 265.9 kB / 405.5 MB, free: 7.344 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.002025/0.2841, allocations: 1.737 MB / 407.3 MB, free: 6.609 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.2844, allocations: 332.4 kB / 407.6 MB, free: 6.523 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.2845, allocations: 142.2 kB / 407.7 MB, free: 6.488 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.2845, allocations: 25.58 kB / 407.8 MB, free: 6.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.2845, allocations: 46.14 kB / 407.8 MB, free: 6.434 MB / 330.7 MB Notification: Performance of pre-optimization done (n=59): time 1.583e-06/0.2845, allocations: 2.906 kB / 407.8 MB, free: 6.434 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.004739/0.2893, allocations: 2.743 MB / 410.6 MB, free: 5.387 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.608e-05/0.2893, allocations: 61.56 kB / 410.6 MB, free: 5.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.2895, allocations: 329.5 kB / 410.9 MB, free: 5.117 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.671e-05/0.2895, allocations: 41.73 kB / 411 MB, free: 5.086 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.869e-05/0.2896, allocations: 349.6 kB / 411.3 MB, free: 4.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.985e-05/0.2897, allocations: 276 kB / 411.6 MB, free: 4.625 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.2898, allocations: 143.4 kB / 411.7 MB, free: 4.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.728e-05/0.2899, allocations: 0.5387 MB / 412.3 MB, free: 4.078 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.2901, allocations: 133.7 kB / 412.4 MB, free: 4.055 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.2902, allocations: 248.2 kB / 412.6 MB, free: 3.934 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003563/0.2906, allocations: 417.8 kB / 413 MB, free: 3.824 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2906, allocations: 3.062 kB / 413 MB, free: 3.824 MB / 330.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0006771/0.2913, allocations: 0.658 MB / 413.7 MB, free: 3.582 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.2913, allocations: 5.469 kB / 413.7 MB, free: 3.582 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2913, allocations: 6.812 kB / 413.7 MB, free: 3.578 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002309/0.2915, allocations: 181.3 kB / 413.9 MB, free: 3.449 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004868/0.292, allocations: 180 kB / 414.1 MB, free: 3.414 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004919/0.2969, allocations: 12.83 MB / 426.9 MB, free: 6.457 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.2972, allocations: 15.03 kB / 426.9 MB, free: 6.457 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.529e-05/0.2972, allocations: 42.52 kB / 427 MB, free: 6.449 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): 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.0001982/0.2974, allocations: 204.9 kB / 427.2 MB, free: 6.277 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.2975, allocations: 72.28 kB / 427.2 MB, free: 6.254 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008108/0.2983, allocations: 0.7387 MB / 428 MB, free: 5.969 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.2983, allocations: 12.27 kB / 428 MB, free: 5.965 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.2984, allocations: 0 / 428 MB, free: 5.965 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006879/0.299, allocations: 1.104 MB / 429.1 MB, free: 5.055 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/0.3004, allocations: 1.322 MB / 430.4 MB, free: 4.508 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.3004, allocations: 4.094 kB / 430.4 MB, free: 4.504 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005768/0.301, allocations: 212.5 kB / 430.6 MB, free: 4.461 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001054/0.3011, allocations: 37.28 kB / 430.6 MB, free: 4.434 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.433e-05/0.3011, allocations: 41.59 kB / 430.7 MB, free: 4.426 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009724/0.3021, allocations: 1.733 MB / 432.4 MB, free: 2.688 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3021, allocations: 0 / 432.4 MB, free: 2.688 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008844/0.303, allocations: 0.9232 MB / 433.3 MB, free: 2.188 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.305e-05/0.303, allocations: 47.2 kB / 433.4 MB, free: 2.145 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.132e-05/0.3031, allocations: 25.17 kB / 433.4 MB, free: 2.133 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002875/0.3034, allocations: 34.3 kB / 433.5 MB, free: 2.109 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.567e-05/0.3034, allocations: 59.17 kB / 433.5 MB, free: 2.059 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.516e-05/0.3035, allocations: 66 kB / 433.6 MB, free: 2.004 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000112/0.3036, allocations: 215 kB / 433.8 MB, free: 1.805 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3036, allocations: 4 kB / 433.8 MB, free: 1.801 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000693/0.3043, allocations: 314.9 kB / 434.1 MB, free: 1.52 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.000752/0.305, allocations: 412.9 kB / 434.5 MB, free: 1.129 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.3061, allocations: 1.653 MB / 436.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3062, allocations: 3.859 kB / 436.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003648/0.3065, allocations: 464.5 kB / 436.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009078/0.3074, allocations: 367.8 kB / 437 MB, free: 14.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002171/0.3096, allocations: 1.703 MB / 438.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001408/0.3097, allocations: 201 kB / 438.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003712/0.3101, allocations: 140.6 kB / 439 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008174/0.3109, allocations: 491.2 kB / 439.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.3109, allocations: 0 / 439.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of Templates: time 0.02557/0.3365, allocations: 25.31 MB / 464.8 MB, free: 2.938 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.96079170005396]