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.001332/0.001332, allocations: 102.1 kB / 16.94 MB, free: 5.984 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.001655/0.001655, allocations: 179.4 kB / 17.82 MB, free: 5.652 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.52/1.52, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004547/0.0004549, allocations: 15.28 kB / 280.8 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1118, allocations: 47.58 MB / 328.3 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3743/0.4862, allocations: 138.8 MB / 467.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002965/0.4892, allocations: 2.372 MB / 469.5 MB, free: 11.58 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002964/0.4895, allocations: 7.938 kB / 469.5 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006916/0.4902, allocations: 187.2 kB / 469.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005966/0.4908, allocations: 231.3 kB / 469.9 MB, free: 11.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.4921, allocations: 421 kB / 470.4 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000776/0.4929, allocations: 0.5818 MB / 470.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000318/0.4933, allocations: 193.5 kB / 471.1 MB, free: 9.973 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00161/0.4949, allocations: 0.8029 MB / 471.9 MB, free: 9.168 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003287/0.4952, allocations: 263.2 kB / 472.2 MB, free: 8.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.205e-05/0.4953, allocations: 32 kB / 472.2 MB, free: 8.879 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009968/0.4963, allocations: 439.5 kB / 472.6 MB, free: 8.449 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000346/0.4967, allocations: 371.2 kB / 473 MB, free: 8.086 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001866/0.4969, allocations: 193.3 kB / 473.2 MB, free: 7.891 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.4981, allocations: 1.183 MB / 474.4 MB, free: 6.707 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4981, allocations: 0 / 474.4 MB, free: 6.707 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4981, allocations: 3.938 kB / 474.4 MB, free: 6.703 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.4981, allocations: 0 / 474.4 MB, free: 6.703 MB / 366.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.001475/0.4996, allocations: 0.8893 MB / 475.3 MB, free: 5.766 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.4996, allocations: 12.03 kB / 475.3 MB, free: 5.754 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006841/0.5003, allocations: 163 kB / 475.4 MB, free: 5.594 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000751/0.5011, allocations: 461 kB / 475.9 MB, free: 5.102 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.488e-05/0.5011, allocations: 57.25 kB / 475.9 MB, free: 5.047 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.5013, allocations: 68 kB / 476 MB, free: 4.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.5027, allocations: 0.9318 MB / 476.9 MB, free: 4.043 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.5027, allocations: 4 kB / 476.9 MB, free: 4.039 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-05/0.5028, allocations: 35.98 kB / 477 MB, free: 4.004 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.166e-05/0.5029, allocations: 41.92 kB / 477 MB, free: 3.961 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.5041, allocations: 0.8628 MB / 477.9 MB, free: 3.098 MB / 366.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.005314/0.5094, allocations: 3.387 MB / 481.3 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008013/0.5102, allocations: 0.6346 MB / 481.9 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.427e-05/0.5103, allocations: 12.56 kB / 481.9 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.5103, allocations: 47.12 kB / 482 MB, free: 14.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=59): time 2.174e-06/0.5103, allocations: 3.938 kB / 482 MB, free: 14.72 MB / 382.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.0145/0.5248, allocations: 6.183 MB / 488.2 MB, free: 8.148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.5249, allocations: 60.06 kB / 488.2 MB, free: 8.078 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007178/0.5256, allocations: 0.537 MB / 488.8 MB, free: 7.535 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.5257, allocations: 45.7 kB / 488.8 MB, free: 7.484 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002321/0.526, allocations: 280.5 kB / 489.1 MB, free: 7.207 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000221/0.5262, allocations: 252.4 kB / 489.3 MB, free: 6.957 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.5263, allocations: 12 kB / 489.3 MB, free: 6.945 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.5264, allocations: 366.8 kB / 489.7 MB, free: 6.578 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000606/0.527, allocations: 449.7 kB / 490.1 MB, free: 6.141 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006442/0.5277, allocations: 0.5115 MB / 490.6 MB, free: 5.609 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006683/0.5284, allocations: 0.4988 MB / 491.1 MB, free: 5.113 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5284, allocations: 0 / 491.1 MB, free: 5.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001832/0.5302, allocations: 1.339 MB / 492.5 MB, free: 3.746 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.5303, allocations: 4 kB / 492.5 MB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.5303, allocations: 3.984 kB / 492.5 MB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005711/0.5309, allocations: 334.8 kB / 492.8 MB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009405/0.5318, allocations: 179.8 kB / 493 MB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007129/0.5389, allocations: 10.3 MB / 0.4915 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007703/0.5398, allocations: 75.88 kB / 0.4916 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-05/0.5398, allocations: 43.98 kB / 0.4916 GB, free: 7.84 MB / 398.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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004744/0.5403, allocations: 277.6 kB / 0.4919 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.5405, allocations: 67.23 kB / 0.4919 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001963/0.5424, allocations: 1.283 MB / 0.4932 GB, free: 6.172 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.5425, allocations: 8 kB / 0.4932 GB, free: 6.164 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.5425, allocations: 0 / 0.4932 GB, free: 6.164 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001611/0.5441, allocations: 1.606 MB / 0.4948 GB, free: 4.395 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003268/0.5474, allocations: 2.279 MB / 0.497 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.5474, allocations: 0 / 0.497 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.5485, allocations: 215.7 kB / 0.4972 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001922/0.5487, allocations: 68.88 kB / 0.4973 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.59e-05/0.5488, allocations: 47.92 kB / 0.4973 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001156/0.55, allocations: 1.44 MB / 0.4987 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.55, allocations: 4.031 kB / 0.4987 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002107/0.5521, allocations: 1.622 MB / 0.5003 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002451/0.5524, allocations: 152.3 kB / 0.5004 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.5525, allocations: 31.98 kB / 0.5005 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007178/0.5532, allocations: 75.8 kB / 0.5005 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.912e-05/0.5533, allocations: 60.52 kB / 0.5006 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-05/0.5534, allocations: 55.95 kB / 0.5007 GB, free: 14.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004485/0.5539, allocations: 403.1 kB / 0.501 GB, free: 13.69 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5539, allocations: 0 / 0.501 GB, free: 13.69 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00117/0.5551, allocations: 339.9 kB / 0.5014 GB, free: 13.36 MB / 414.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00134/0.5564, allocations: 431.7 kB / 0.5018 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00252/0.5589, allocations: 1.861 MB / 0.5036 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/0.559, allocations: 8.188 kB / 0.5036 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009125/0.5599, allocations: 0.6818 MB / 0.5043 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/0.562, allocations: 494.5 kB / 0.5047 GB, free: 9.789 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003939/0.566, allocations: 2.541 MB / 0.5072 GB, free: 7.211 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007032/0.5667, allocations: 0.9866 MB / 0.5082 GB, free: 6.199 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001111/0.5678, allocations: 281.7 kB / 0.5084 GB, free: 5.922 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002649/0.5681, allocations: 91.34 kB / 0.5085 GB, free: 5.832 MB / 414.1 MB Notification: Performance of SimCode: time 1.253e-06/0.5681, allocations: 7.938 kB / 0.5085 GB, free: 5.824 MB / 414.1 MB Notification: Performance of Templates: time 0.1904/0.7586, allocations: 24.79 MB / 0.5327 GB, free: 161.6 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../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