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.001506/0.001506, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.00156/0.00156, allocations: 166.5 kB / 25.02 MB, free: 8.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.426/1.426, allocations: 158.6 MB / 186.8 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 178] 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.854e-06/1.854e-06, allocations: 0 / 250.4 MB, free: 7.777 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.273e-05/4.458e-05, allocations: 6.25 kB / 250.4 MB, free: 7.77 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3389/0.3389, allocations: 151.9 MB / 402.4 MB, free: 8.848 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00386/0.3428, allocations: 3.504 MB / 405.9 MB, free: 8.121 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001759/0.343, allocations: 10.22 kB / 405.9 MB, free: 8.117 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007019/0.3437, allocations: 212.3 kB / 406.1 MB, free: 8.004 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005851/0.3443, allocations: 383.3 kB / 406.5 MB, free: 7.887 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.3455, allocations: 0.5631 MB / 407 MB, free: 7.703 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008568/0.3464, allocations: 1.121 MB / 408.1 MB, free: 7.414 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.3465, allocations: 70.48 kB / 408.2 MB, free: 7.395 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002341/0.3489, allocations: 1.42 MB / 409.6 MB, free: 6.891 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003843/0.3492, allocations: 307 kB / 409.9 MB, free: 6.793 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.067e-05/0.3493, allocations: 46.77 kB / 410 MB, free: 6.793 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008486/0.3502, allocations: 424 kB / 410.4 MB, free: 6.68 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000175/0.3504, allocations: 249 kB / 410.6 MB, free: 6.598 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002662/0.3506, allocations: 247.7 kB / 410.9 MB, free: 6.551 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.3517, allocations: 1.145 MB / 412 MB, free: 6.074 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3517, allocations: 2.5 kB / 412 MB, free: 6.074 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3517, allocations: 0 / 412 MB, free: 6.074 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.3517, allocations: 0 / 412 MB, free: 6.074 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.001113/0.3528, allocations: 0.7466 MB / 412.8 MB, free: 5.57 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.3529, allocations: 11.06 kB / 412.8 MB, free: 5.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006661/0.3535, allocations: 186.4 kB / 413 MB, free: 5.504 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004282/0.354, allocations: 329.6 kB / 413.3 MB, free: 5.289 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.354, allocations: 27.5 kB / 413.3 MB, free: 5.289 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.176e-05/0.3541, allocations: 51.88 kB / 413.4 MB, free: 5.285 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000829/0.3549, allocations: 1.164 MB / 414.5 MB, free: 4.355 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.3549, allocations: 3.984 kB / 414.5 MB, free: 4.352 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.365e-05/0.355, allocations: 21.38 kB / 414.6 MB, free: 4.352 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.355, allocations: 11.09 kB / 414.6 MB, free: 4.348 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005075/0.3555, allocations: 446 kB / 415 MB, free: 4.164 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.002718/0.3582, allocations: 1.502 MB / 416.5 MB, free: 3.098 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002244/0.3585, allocations: 143.8 kB / 416.6 MB, free: 3.016 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.3586, allocations: 71.61 kB / 416.7 MB, free: 2.977 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.3586, allocations: 5.188 kB / 416.7 MB, free: 2.977 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.3586, allocations: 36.81 kB / 416.8 MB, free: 2.934 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 1.123e-06/0.3586, allocations: 0 / 416.8 MB, free: 2.934 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.005778/0.3644, allocations: 1.463 MB / 418.2 MB, free: 2.027 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.3644, allocations: 56.56 kB / 418.3 MB, free: 1.965 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004164/0.3648, allocations: 479.1 kB / 418.7 MB, free: 1.664 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.3648, allocations: 32.2 kB / 418.8 MB, free: 1.629 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.365, allocations: 331.5 kB / 419.1 MB, free: 1.336 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.422e-05/0.365, allocations: 89.75 kB / 419.2 MB, free: 1.262 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.3652, allocations: 124.9 kB / 419.3 MB, free: 1.184 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.311e-05/0.3652, allocations: 349.5 kB / 419.6 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.3654, allocations: 134.6 kB / 419.8 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002937/0.3657, allocations: 438.8 kB / 420.2 MB, free: 320 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007019/0.3664, allocations: 0.6096 MB / 420.8 MB, free: 15.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.3664, allocations: 4.969 kB / 420.8 MB, free: 15.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001015/0.3674, allocations: 0.6671 MB / 421.5 MB, free: 15.41 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.3675, allocations: 12.12 kB / 421.5 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.3675, allocations: 10.75 kB / 421.5 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001866/0.3677, allocations: 64.09 kB / 421.6 MB, free: 15.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004639/0.3681, allocations: 141.1 kB / 421.7 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00184/0.37, allocations: 1.818 MB / 423.5 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003914/0.3704, allocations: 18.75 kB / 423.5 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.289e-05/0.3704, allocations: 38.41 kB / 423.6 MB, free: 13.5 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.0002852/0.3707, allocations: 214.9 kB / 423.8 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.484e-05/0.3708, allocations: 50.61 kB / 423.8 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005675/0.3714, allocations: 293.3 kB / 424.1 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3714, allocations: 2.5 kB / 424.1 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3714, allocations: 2.938 kB / 424.1 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007887/0.3722, allocations: 0.5184 MB / 424.7 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009936/0.3732, allocations: 0.5965 MB / 425.3 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.3732, allocations: 4 kB / 425.3 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/0.3735, allocations: 55.06 kB / 425.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.229e-05/0.3735, allocations: 20.5 kB / 425.3 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.3736, allocations: 10.72 kB / 425.3 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/0.3747, allocations: 1.256 MB / 426.6 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3747, allocations: 0 / 426.6 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006428/0.3754, allocations: 438.9 kB / 427 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.648e-05/0.3754, allocations: 34.17 kB / 427.1 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.929e-05/0.3755, allocations: 10.67 kB / 427.1 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/0.3758, allocations: 2.281 kB / 427.1 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.3758, allocations: 20.34 kB / 427.1 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.3758, allocations: 14.77 kB / 427.1 MB, free: 10.48 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003594/0.3762, allocations: 305.3 kB / 427.4 MB, free: 10.29 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3762, allocations: 0 / 427.4 MB, free: 10.29 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007941/0.377, allocations: 216.3 kB / 427.6 MB, free: 10.25 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.00125/0.3782, allocations: 464.6 kB / 428.1 MB, free: 10 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008065/0.379, allocations: 460.5 kB / 428.5 MB, free: 9.684 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.379, allocations: 0 / 428.5 MB, free: 9.684 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003218/0.3794, allocations: 207 kB / 428.7 MB, free: 9.469 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.3804, allocations: 194.4 kB / 428.9 MB, free: 9.281 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.3819, allocations: 0.8017 MB / 429.7 MB, free: 8.449 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.3822, allocations: 213.8 kB / 429.9 MB, free: 8.223 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004352/0.3827, allocations: 141.4 kB / 430.1 MB, free: 8.086 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.3828, allocations: 40.48 kB / 430.1 MB, free: 8.047 MB / 346.7 MB Notification: Performance of SimCode: time 5.71e-07/0.3828, allocations: 0 / 430.1 MB, free: 8.047 MB / 346.7 MB Notification: Performance of Templates: time 0.02291/0.4057, allocations: 11.88 MB / 442 MB, free: 12.2 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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: 5.166247324086726]