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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 106 kB / 21.18 MB, free: 0.7188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 189.3 kB / 24.47 MB, free: 4.094 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.523/1.523, allocations: 207.6 MB / 235.2 MB, free: 10.03 MB / 190.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.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=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.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.001845/0.001845, allocations: 56.39 kB / 347.7 MB, free: 9.613 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2891, allocations: 49.16 MB / 396.8 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.2356/0.5247, allocations: 176.3 MB / 0.5597 GB, free: 2.535 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.312/0.8367, allocations: 3.856 MB / 0.5634 GB, free: 1.758 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002861/0.837, allocations: 6.875 kB / 0.5634 GB, free: 1.758 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009308/0.8379, allocations: 249.6 kB / 0.5637 GB, free: 1.758 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008444/0.8388, allocations: 367.7 kB / 0.564 GB, free: 1.758 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001933/0.8407, allocations: 0.5636 MB / 0.5646 GB, free: 1.75 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001993/0.8427, allocations: 1.11 MB / 0.5657 GB, free: 1.75 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003504/0.8431, allocations: 186.3 kB / 0.5658 GB, free: 1.734 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003618/0.8467, allocations: 1.32 MB / 0.5671 GB, free: 1.727 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006712/0.8474, allocations: 424.4 kB / 0.5675 GB, free: 1.727 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001475/0.8475, allocations: 69.59 kB / 0.5676 GB, free: 1.727 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001222/0.8487, allocations: 499.8 kB / 0.5681 GB, free: 1.723 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003577/0.8491, allocations: 446.8 kB / 0.5685 GB, free: 1.723 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005701/0.8496, allocations: 0.4906 MB / 0.569 GB, free: 1.723 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00186/0.8515, allocations: 1.544 MB / 0.5705 GB, free: 1.652 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.8515, allocations: 0 / 0.5705 GB, free: 1.652 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.8515, allocations: 1.984 kB / 0.5705 GB, free: 1.652 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.483e-05/0.8515, allocations: 1.031 kB / 0.5705 GB, free: 1.652 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.001966/0.8535, allocations: 1.005 MB / 0.5715 GB, free: 17.16 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.8535, allocations: 13.67 kB / 0.5715 GB, free: 17.16 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007909/0.8543, allocations: 151.8 kB / 0.5716 GB, free: 17.12 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008329/0.8552, allocations: 423.1 kB / 0.572 GB, free: 16.94 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.107e-05/0.8552, allocations: 48.16 kB / 0.5721 GB, free: 16.94 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.8554, allocations: 73.72 kB / 0.5722 GB, free: 16.94 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/0.8571, allocations: 0.9485 MB / 0.5731 GB, free: 16.89 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.036e-05/0.8571, allocations: 8.938 kB / 0.5731 GB, free: 16.88 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.767e-05/0.8572, allocations: 29.91 kB / 0.5731 GB, free: 16.88 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.966e-05/0.8573, allocations: 41.69 kB / 0.5732 GB, free: 16.88 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/0.8587, allocations: 0.8732 MB / 0.574 GB, free: 16.87 MB / 494.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.005426/0.8642, allocations: 3.2 MB / 0.5771 GB, free: 15.53 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000738/0.8649, allocations: 0.6106 MB / 0.5777 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003693/0.8653, allocations: 339.4 kB / 0.5781 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.962e-05/0.8653, allocations: 23.84 kB / 0.5781 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.511e-05/0.8654, allocations: 44.16 kB / 0.5781 GB, free: 15.44 MB / 494.1 MB Notification: Performance of pre-optimization done (n=59): time 2.895e-06/0.8654, allocations: 0 / 0.5781 GB, free: 15.44 MB / 494.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.01327/0.8786, allocations: 4.867 MB / 0.5829 GB, free: 14.79 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.8787, allocations: 63.53 kB / 0.5829 GB, free: 14.72 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006126/0.8793, allocations: 0.5502 MB / 0.5835 GB, free: 14.61 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.958e-05/0.8794, allocations: 46.23 kB / 0.5835 GB, free: 14.58 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.8796, allocations: 276.5 kB / 0.5838 GB, free: 14.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.8797, allocations: 271.8 kB / 0.584 GB, free: 14.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002149/0.8799, allocations: 142 kB / 0.5842 GB, free: 14.24 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.8801, allocations: 370.9 kB / 0.5845 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005364/0.8806, allocations: 449.9 kB / 0.585 GB, free: 13.92 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005597/0.8812, allocations: 0.5117 MB / 0.5855 GB, free: 13.87 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.8823, allocations: 0.9741 MB / 0.5864 GB, free: 13.81 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.8823, allocations: 0 / 0.5864 GB, free: 13.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001795/0.8841, allocations: 1.35 MB / 0.5877 GB, free: 13.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.8841, allocations: 6.812 kB / 0.5877 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.8841, allocations: 0 / 0.5877 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005627/0.8847, allocations: 334.9 kB / 0.5881 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009136/0.8856, allocations: 181.1 kB / 0.5882 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00871/0.8943, allocations: 10.24 MB / 0.5982 GB, free: 4.555 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007217/0.8951, allocations: 18.33 kB / 0.5982 GB, free: 4.555 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-05/0.8951, allocations: 47.83 kB / 0.5983 GB, free: 4.555 MB / 494.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.0004803/0.8956, allocations: 277.4 kB / 0.5986 GB, free: 4.438 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/0.8958, allocations: 66 kB / 0.5986 GB, free: 4.406 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001807/0.8976, allocations: 1.281 MB / 0.5999 GB, free: 4.277 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.8976, allocations: 5.406 kB / 0.5999 GB, free: 4.277 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.8976, allocations: 3.5 kB / 0.5999 GB, free: 4.277 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001663/0.8992, allocations: 1.606 MB / 0.6014 GB, free: 3.438 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002977/0.9022, allocations: 2.23 MB / 0.6036 GB, free: 3.113 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.9022, allocations: 6.125 kB / 0.6036 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/0.9033, allocations: 221.1 kB / 0.6038 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001685/0.9035, allocations: 72.28 kB / 0.6039 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.326e-05/0.9035, allocations: 41.78 kB / 0.6039 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001291/0.9048, allocations: 1.429 MB / 0.6053 GB, free: 1.879 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.9048, allocations: 3.438 kB / 0.6053 GB, free: 1.879 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002117/0.9069, allocations: 1.601 MB / 0.6069 GB, free: 1.645 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002395/0.9072, allocations: 72.7 kB / 0.607 GB, free: 1.613 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.9073, allocations: 25.41 kB / 0.607 GB, free: 1.613 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006559/0.9079, allocations: 38.53 kB / 0.607 GB, free: 1.613 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.908, allocations: 65.38 kB / 0.6071 GB, free: 1.613 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.9082, allocations: 62.17 kB / 0.6072 GB, free: 1.613 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005001/0.9087, allocations: 398.9 kB / 0.6075 GB, free: 1.527 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.9087, allocations: 4.125 kB / 0.6075 GB, free: 1.527 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001434/0.9101, allocations: 338.9 kB / 0.6079 GB, free: 1.504 MB / 494.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.001308/0.9114, allocations: 500 kB / 0.6083 GB, free: 1.391 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002336/0.9137, allocations: 1.833 MB / 0.6101 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.9137, allocations: 3.312 kB / 0.6101 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008062/0.9145, allocations: 0.6687 MB / 0.6108 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/0.9164, allocations: 0.4955 MB / 0.6113 GB, free: 432 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003543/0.92, allocations: 2.23 MB / 0.6135 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005988/0.9206, allocations: 0.9784 MB / 0.6144 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000788/0.9214, allocations: 278.3 kB / 0.6147 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002637/0.9216, allocations: 88.48 kB / 0.6148 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of SimCode: time 5.81e-07/0.9216, allocations: 0 / 0.6148 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.04553/0.9672, allocations: 27.56 MB / 0.6417 GB, free: 10.14 MB / 0.5137 GB " [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 -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/jenkins/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/jenkins/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.550095526501536]