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.001051/0.001051, allocations: 107.1 kB / 18.4 MB, free: 4.676 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.001095/0.001095, allocations: 188.5 kB / 19.34 MB, free: 3.75 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.26/1.26, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001185/0.001185, allocations: 55.94 kB / 329.3 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07325/0.07445, allocations: 46.62 MB / 375.9 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3202/0.3946, allocations: 175.5 MB / 0.5385 GB, free: 15.55 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004137/0.3988, allocations: 3.838 MB / 0.5422 GB, free: 11.7 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001975/0.3991, allocations: 4 kB / 0.5422 GB, free: 11.69 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006635/0.3997, allocations: 242.7 kB / 0.5424 GB, free: 11.45 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006223/0.4004, allocations: 370 kB / 0.5428 GB, free: 11.09 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.4017, allocations: 0.5435 MB / 0.5433 GB, free: 10.55 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00109/0.4028, allocations: 1.099 MB / 0.5444 GB, free: 9.445 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003565/0.4032, allocations: 301.5 kB / 0.5447 GB, free: 9.152 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002394/0.4056, allocations: 1.302 MB / 0.546 GB, free: 7.852 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005444/0.4061, allocations: 402.8 kB / 0.5463 GB, free: 7.457 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001655/0.4063, allocations: 64 kB / 0.5464 GB, free: 7.395 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.4073, allocations: 479.1 kB / 0.5469 GB, free: 6.926 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003935/0.4077, allocations: 446.9 kB / 0.5473 GB, free: 6.488 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006183/0.4084, allocations: 494.2 kB / 0.5478 GB, free: 6.004 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.41, allocations: 1.539 MB / 0.5493 GB, free: 4.461 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.4101, allocations: 4 kB / 0.5493 GB, free: 4.457 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.4101, allocations: 0 / 0.5493 GB, free: 4.457 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.06e-05/0.4101, allocations: 0 / 0.5493 GB, free: 4.457 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.001857/0.412, allocations: 1.057 MB / 0.5503 GB, free: 3.352 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.412, allocations: 12.03 kB / 0.5503 GB, free: 3.34 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007052/0.4127, allocations: 151 kB / 0.5504 GB, free: 3.191 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008296/0.4136, allocations: 488.8 kB / 0.5509 GB, free: 2.672 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.977e-05/0.4136, allocations: 45.31 kB / 0.551 GB, free: 2.625 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.4137, allocations: 67.98 kB / 0.551 GB, free: 2.559 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.4153, allocations: 0.9552 MB / 0.552 GB, free: 1.598 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.4153, allocations: 3.906 kB / 0.552 GB, free: 1.594 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.776e-05/0.4154, allocations: 30.75 kB / 0.552 GB, free: 1.566 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-05/0.4155, allocations: 45.92 kB / 0.552 GB, free: 1.523 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.4167, allocations: 0.8706 MB / 0.5529 GB, free: 0.6484 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.1938/0.6105, allocations: 3.379 MB / 0.5562 GB, free: 169 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.6121, allocations: 0.6422 MB / 0.5568 GB, free: 168.9 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008095/0.613, allocations: 359.1 kB / 0.5571 GB, free: 168.7 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.237e-05/0.6131, allocations: 17.28 kB / 0.5572 GB, free: 168.7 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.6131, allocations: 48.56 kB / 0.5572 GB, free: 168.7 MB / 478.1 MB Notification: Performance of pre-optimization done (n=59): time 4.428e-06/0.6131, allocations: 0 / 0.5572 GB, free: 168.7 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.02444/0.6376, allocations: 6.071 MB / 0.5631 GB, free: 165.4 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.6376, allocations: 60.48 kB / 0.5632 GB, free: 165.3 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.6388, allocations: 0.5483 MB / 0.5637 GB, free: 165.1 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001501/0.6389, allocations: 42.98 kB / 0.5638 GB, free: 165 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002253/0.6392, allocations: 275.7 kB / 0.564 GB, free: 164.8 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002508/0.6395, allocations: 253.1 kB / 0.5643 GB, free: 164.6 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004208/0.6399, allocations: 149.4 kB / 0.5644 GB, free: 164.6 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.64, allocations: 372 kB / 0.5648 GB, free: 164.2 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/0.6412, allocations: 445.3 kB / 0.5652 GB, free: 164.1 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/0.6424, allocations: 0.5182 MB / 0.5657 GB, free: 163.8 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002131/0.6446, allocations: 0.9658 MB / 0.5666 GB, free: 163.4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.6446, allocations: 3.969 kB / 0.5667 GB, free: 163.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003358/0.648, allocations: 1.344 MB / 0.568 GB, free: 162.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.648, allocations: 3.594 kB / 0.568 GB, free: 162.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.648, allocations: 6.625 kB / 0.568 GB, free: 162.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.6491, allocations: 328.2 kB / 0.5683 GB, free: 162.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001709/0.6508, allocations: 184.6 kB / 0.5685 GB, free: 162.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009406/0.6602, allocations: 10.96 MB / 0.5792 GB, free: 152 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008644/0.6611, allocations: 24.05 kB / 0.5792 GB, free: 152 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/0.6613, allocations: 45.61 kB / 0.5792 GB, free: 152 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.0006172/0.6619, allocations: 277.4 kB / 0.5795 GB, free: 151.8 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003038/0.6622, allocations: 62.66 kB / 0.5796 GB, free: 151.7 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003306/0.6655, allocations: 1.282 MB / 0.5808 GB, free: 151.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002644/0.6682, allocations: 1.61 MB / 0.5824 GB, free: 150 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.6682, allocations: 0 / 0.5824 GB, free: 150 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002553/0.6685, allocations: 138.4 kB / 0.5825 GB, free: 149.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002304/0.6687, allocations: 35.92 kB / 0.5826 GB, free: 149.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/0.67, allocations: 32.41 kB / 0.5826 GB, free: 149.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002042/0.6702, allocations: 56.55 kB / 0.5826 GB, free: 149.8 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004254/0.6745, allocations: 1.245 MB / 0.5839 GB, free: 149.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003805/0.6783, allocations: 1.702 MB / 0.5855 GB, free: 148.6 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001106/0.6794, allocations: 0.4947 MB / 0.586 GB, free: 148.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000706/0.6801, allocations: 406.1 kB / 0.5864 GB, free: 148.2 MB / 478.1 MB Notification: Performance of Backend: time 8.72e-07/0.6802, allocations: 0 / 0.5864 GB, free: 148.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005396/0.6856, allocations: 1.935 MB / 0.5883 GB, free: 146.8 MB / 478.1 MB Notification: Performance of SimCode: time 0.00533/0.6909, allocations: 2.336 MB / 0.5906 GB, free: 145.2 MB / 478.1 MB Notification: Performance of Templates: time 0.04438/0.7353, allocations: 25.9 MB / 0.6158 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