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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 103.2 kB / 18.4 MB, free: 4.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 191.3 kB / 19.34 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.296/1.296, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 51.92 kB / 329.3 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0728/0.07404, allocations: 46.62 MB / 375.9 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3251/0.3992, allocations: 175.5 MB / 0.5384 GB, free: 15.72 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004462/0.4037, allocations: 3.838 MB / 0.5422 GB, free: 11.87 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002516/0.404, allocations: 7.938 kB / 0.5422 GB, free: 11.86 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007152/0.4047, allocations: 238.7 kB / 0.5424 GB, free: 11.62 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007265/0.4054, allocations: 358.1 kB / 0.5428 GB, free: 11.27 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.4068, allocations: 0.5468 MB / 0.5433 GB, free: 10.73 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001174/0.408, allocations: 1.087 MB / 0.5444 GB, free: 9.637 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003612/0.4084, allocations: 300 kB / 0.5447 GB, free: 9.348 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002451/0.4108, allocations: 1.303 MB / 0.5459 GB, free: 8.047 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005473/0.4114, allocations: 398.8 kB / 0.5463 GB, free: 7.656 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001287/0.4115, allocations: 64 kB / 0.5464 GB, free: 7.594 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009742/0.4125, allocations: 483.1 kB / 0.5468 GB, free: 7.121 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003865/0.4129, allocations: 442.9 kB / 0.5473 GB, free: 6.688 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006238/0.4135, allocations: 494.2 kB / 0.5477 GB, free: 6.203 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.4151, allocations: 1.539 MB / 0.5492 GB, free: 4.66 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.4151, allocations: 4 kB / 0.5492 GB, free: 4.656 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4151, allocations: 0 / 0.5492 GB, free: 4.656 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.158e-05/0.4151, allocations: 0 / 0.5492 GB, free: 4.656 MB / 478.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.001816/0.417, allocations: 1.061 MB / 0.5503 GB, free: 3.547 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.417, allocations: 15.97 kB / 0.5503 GB, free: 3.531 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006907/0.4177, allocations: 147 kB / 0.5504 GB, free: 3.387 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000713/0.4184, allocations: 484.8 kB / 0.5509 GB, free: 2.871 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.202e-05/0.4185, allocations: 49.31 kB / 0.5509 GB, free: 2.82 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.4186, allocations: 67.98 kB / 0.551 GB, free: 2.754 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.4201, allocations: 0.9552 MB / 0.5519 GB, free: 1.793 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.4201, allocations: 7.906 kB / 0.5519 GB, free: 1.785 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.403e-05/0.4202, allocations: 28 kB / 0.552 GB, free: 1.758 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.72e-05/0.4203, allocations: 41.98 kB / 0.552 GB, free: 1.719 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.4215, allocations: 0.8745 MB / 0.5529 GB, free: 0.8398 MB / 478.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.1586/0.5802, allocations: 3.378 MB / 0.5562 GB, free: 169.4 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009184/0.5811, allocations: 0.6363 MB / 0.5568 GB, free: 169.2 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004277/0.5816, allocations: 364.6 kB / 0.5571 GB, free: 169 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.866e-05/0.5816, allocations: 23.19 kB / 0.5571 GB, free: 169 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.5817, allocations: 44.75 kB / 0.5572 GB, free: 169 MB / 478.1 MB Notification: Performance of pre-optimization done (n=59): time 3.386e-06/0.5817, allocations: 1.125 kB / 0.5572 GB, free: 169 MB / 478.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.01388/0.5955, allocations: 6.07 MB / 0.5631 GB, free: 165.7 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.884e-05/0.5956, allocations: 58.75 kB / 0.5632 GB, free: 165.6 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005724/0.5962, allocations: 0.5497 MB / 0.5637 GB, free: 165.4 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.045e-05/0.5962, allocations: 42.27 kB / 0.5638 GB, free: 165.3 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.5964, allocations: 283.7 kB / 0.564 GB, free: 165.1 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.5965, allocations: 246.1 kB / 0.5643 GB, free: 164.9 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002389/0.5968, allocations: 149.4 kB / 0.5644 GB, free: 164.9 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.168e-05/0.5969, allocations: 372.1 kB / 0.5648 GB, free: 164.5 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005944/0.5975, allocations: 450 kB / 0.5652 GB, free: 164.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006416/0.5981, allocations: 0.5177 MB / 0.5657 GB, free: 164.1 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.5993, allocations: 0.9647 MB / 0.5666 GB, free: 163.7 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.5993, allocations: 3.625 kB / 0.5666 GB, free: 163.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00185/0.6012, allocations: 1.342 MB / 0.5679 GB, free: 163.1 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.6012, allocations: 6.25 kB / 0.568 GB, free: 163.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.6012, allocations: 4.719 kB / 0.568 GB, free: 163.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005525/0.6018, allocations: 331.5 kB / 0.5683 GB, free: 162.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009947/0.6028, allocations: 182.7 kB / 0.5684 GB, free: 162.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005791/0.6086, allocations: 10.96 MB / 0.5791 GB, free: 152.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004693/0.6091, allocations: 22.86 kB / 0.5792 GB, free: 152.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.95e-05/0.6092, allocations: 47.12 kB / 0.5792 GB, free: 152.3 MB / 478.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.0003743/0.6096, allocations: 273.9 kB / 0.5795 GB, free: 152.1 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.6097, allocations: 63.11 kB / 0.5795 GB, free: 152 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002085/0.6118, allocations: 1.285 MB / 0.5808 GB, free: 151.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001572/0.6134, allocations: 1.611 MB / 0.5824 GB, free: 150.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.6134, allocations: 0 / 0.5824 GB, free: 150.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.6135, allocations: 145.9 kB / 0.5825 GB, free: 150.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.6137, allocations: 31.83 kB / 0.5825 GB, free: 150.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006242/0.6143, allocations: 33.83 kB / 0.5826 GB, free: 150.1 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.6144, allocations: 55.36 kB / 0.5826 GB, free: 150.1 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002286/0.6167, allocations: 1.254 MB / 0.5838 GB, free: 149.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002031/0.6188, allocations: 1.694 MB / 0.5855 GB, free: 148.9 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005582/0.6193, allocations: 0.4914 MB / 0.586 GB, free: 148.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004001/0.6197, allocations: 408.4 kB / 0.5864 GB, free: 148.5 MB / 478.1 MB Notification: Performance of Backend: time 4.81e-07/0.6198, allocations: 0 / 0.5864 GB, free: 148.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003061/0.6228, allocations: 1.935 MB / 0.5883 GB, free: 147.1 MB / 478.1 MB Notification: Performance of SimCode: time 0.002789/0.6256, allocations: 2.338 MB / 0.5905 GB, free: 145.4 MB / 478.1 MB Notification: Performance of Templates: time 0.02763/0.6533, allocations: 26.29 MB / 0.6162 GB, free: 120.7 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (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) 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) Reference file matches