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.001385/0.001385, allocations: 84.88 kB / 22 MB, free: 4.754 MB / 14.72 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.002044/0.002044, allocations: 153.8 kB / 25.24 MB, free: 2.746 MB / 14.72 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.357/1.357, allocations: 158.6 MB / 187 MB, free: 6.34 MB / 174.1 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.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 55.92 kB / 299.4 MB, free: 6.832 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2376, allocations: 49.14 MB / 348.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.4148/0.6524, allocations: 151.9 MB / 0.4887 GB, free: 1.188 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003546/0.6559, allocations: 3.504 MB / 0.4921 GB, free: 1.121 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001625/0.6561, allocations: 5.312 kB / 0.4921 GB, free: 1.121 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006882/0.6568, allocations: 233.9 kB / 0.4923 GB, free: 1.109 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005468/0.6573, allocations: 366.9 kB / 0.4927 GB, free: 1.098 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.6585, allocations: 0.5547 MB / 0.4932 GB, free: 1.074 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008535/0.6594, allocations: 1.114 MB / 0.4943 GB, free: 1.074 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000236/0.6596, allocations: 168 kB / 0.4945 GB, free: 1.051 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002432/0.662, allocations: 1.313 MB / 0.4957 GB, free: 1.031 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000498/0.6625, allocations: 406.3 kB / 0.4961 GB, free: 1.031 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.6626, allocations: 67.09 kB / 0.4962 GB, free: 1.031 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008747/0.6635, allocations: 437.5 kB / 0.4966 GB, free: 1.023 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002967/0.6638, allocations: 453.4 kB / 0.497 GB, free: 1.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004663/0.6643, allocations: 431.6 kB / 0.4974 GB, free: 1.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.6657, allocations: 1.546 MB / 0.499 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.6657, allocations: 0 / 0.499 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.6657, allocations: 1 kB / 0.499 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.6657, allocations: 0 / 0.499 GB, free: 0.9531 MB / 430.1 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.001671/0.6674, allocations: 1.009 MB / 0.4999 GB, free: 16.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.6674, allocations: 12.36 kB / 0.5 GB, free: 16.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006345/0.668, allocations: 160 kB / 0.5001 GB, free: 16.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007368/0.6688, allocations: 424.5 kB / 0.5005 GB, free: 16.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.526e-05/0.6688, allocations: 47.16 kB / 0.5006 GB, free: 16.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.644e-05/0.6689, allocations: 68.31 kB / 0.5006 GB, free: 16.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/0.6705, allocations: 1.559 MB / 0.5021 GB, free: 15.42 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/0.6705, allocations: 3.562 kB / 0.5022 GB, free: 15.42 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.304e-05/0.6706, allocations: 29.47 kB / 0.5022 GB, free: 15.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.495e-05/0.6706, allocations: 48.31 kB / 0.5022 GB, free: 15.42 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.6717, allocations: 0.866 MB / 0.5031 GB, free: 15.41 MB / 446.1 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.004103/0.6758, allocations: 2.096 MB / 0.5051 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006927/0.6765, allocations: 0.6061 MB / 0.5057 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000379/0.6768, allocations: 345.1 kB / 0.506 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.154e-05/0.6769, allocations: 12.73 kB / 0.5061 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.6769, allocations: 46.25 kB / 0.5061 GB, free: 14.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=59): time 2.695e-06/0.6769, allocations: 1 kB / 0.5061 GB, free: 14.96 MB / 446.1 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.01306/0.69, allocations: 4.872 MB / 0.5109 GB, free: 14.26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.69, allocations: 59.66 kB / 0.5109 GB, free: 14.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003665/0.6904, allocations: 360.2 kB / 0.5113 GB, free: 14.08 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.863e-05/0.6905, allocations: 42.64 kB / 0.5113 GB, free: 14.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.6907, allocations: 298.2 kB / 0.5116 GB, free: 13.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002036/0.6909, allocations: 267.3 kB / 0.5118 GB, free: 13.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002119/0.6911, allocations: 149.1 kB / 0.512 GB, free: 13.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.6912, allocations: 352.9 kB / 0.5123 GB, free: 13.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005095/0.6917, allocations: 449.8 kB / 0.5127 GB, free: 13.35 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006753/0.6924, allocations: 0.5148 MB / 0.5132 GB, free: 13.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/0.694, allocations: 0.9647 MB / 0.5142 GB, free: 13.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.694, allocations: 3.969 kB / 0.5142 GB, free: 13.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001979/0.696, allocations: 1.328 MB / 0.5155 GB, free: 12.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.696, allocations: 12.84 kB / 0.5155 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.696, allocations: 5.109 kB / 0.5155 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005603/0.6966, allocations: 327.6 kB / 0.5158 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000944/0.6975, allocations: 187.7 kB / 0.516 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008256/0.7058, allocations: 10.07 MB / 0.5258 GB, free: 3.078 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005781/0.7063, allocations: 26.88 kB / 0.5258 GB, free: 3.062 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.483e-05/0.7064, allocations: 42.42 kB / 0.5259 GB, free: 3.059 MB / 446.1 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.0005206/0.707, allocations: 281.5 kB / 0.5262 GB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.7071, allocations: 49.06 kB / 0.5262 GB, free: 2.848 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002002/0.7091, allocations: 1.265 MB / 0.5274 GB, free: 2.277 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.7091, allocations: 8.812 kB / 0.5274 GB, free: 2.277 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.7091, allocations: 0 / 0.5274 GB, free: 2.277 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001736/0.7109, allocations: 1.606 MB / 0.529 GB, free: 1.109 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003204/0.7141, allocations: 2.001 MB / 0.531 GB, free: 196 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.7141, allocations: 6.844 kB / 0.531 GB, free: 192 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/0.7152, allocations: 217.1 kB / 0.5312 GB, free: 184 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000178/0.7153, allocations: 66.59 kB / 0.5312 GB, free: 160 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-05/0.7154, allocations: 36.05 kB / 0.5313 GB, free: 148 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001277/0.7167, allocations: 1.412 MB / 0.5327 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.7167, allocations: 6.562 kB / 0.5327 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002235/0.7189, allocations: 1.59 MB / 0.5342 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.7191, allocations: 47.25 kB / 0.5343 GB, free: 14.06 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.7192, allocations: 29.95 kB / 0.5343 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000699/0.7199, allocations: 41.34 kB / 0.5343 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.72, allocations: 53.44 kB / 0.5344 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001441/0.7202, allocations: 65.44 kB / 0.5344 GB, free: 14.01 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003512/0.7205, allocations: 257.9 kB / 0.5347 GB, free: 13.88 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.7205, allocations: 0 / 0.5347 GB, free: 13.88 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001474/0.722, allocations: 329.4 kB / 0.535 GB, free: 13.84 MB / 462.1 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.001534/0.7235, allocations: 0.4896 MB / 0.5355 GB, free: 13.62 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00264/0.7262, allocations: 1.834 MB / 0.5373 GB, free: 12.34 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.7262, allocations: 1.25 kB / 0.5373 GB, free: 12.34 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.7272, allocations: 0.6672 MB / 0.5379 GB, free: 11.98 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/0.7291, allocations: 351 kB / 0.5383 GB, free: 11.79 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004145/0.7332, allocations: 2.18 MB / 0.5404 GB, free: 9.598 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004988/0.7337, allocations: 383.9 kB / 0.5408 GB, free: 9.199 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008447/0.7345, allocations: 252.5 kB / 0.541 GB, free: 8.949 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002835/0.7348, allocations: 84.47 kB / 0.5411 GB, free: 8.867 MB / 462.1 MB Notification: Performance of SimCode: time 7.72e-07/0.7348, allocations: 0 / 0.5411 GB, free: 8.867 MB / 462.1 MB Notification: Performance of Templates: time 0.03698/0.7718, allocations: 22.96 MB / 0.5635 GB, free: 1.902 MB / 478.1 MB " [Timeout remaining time 659] 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 -s ida -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/jenkins1/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/jenkins1/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: 6.218388573033735]