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.001492/0.001492, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001668/0.001668, allocations: 212 kB / 24.47 MB, free: 3.547 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.526/1.526, allocations: 207.7 MB / 235.3 MB, free: 9.797 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.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.001825/0.001825, allocations: 55.92 kB / 347.7 MB, free: 9.34 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3262, allocations: 49.15 MB / 396.9 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.2193/0.5455, allocations: 151.9 MB / 0.5359 GB, free: 10.79 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005884/0.5513, allocations: 3.508 MB / 0.5393 GB, free: 7.266 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004664/0.5518, allocations: 7.938 kB / 0.5393 GB, free: 7.258 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.5528, allocations: 226.7 kB / 0.5395 GB, free: 7.035 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001106/0.5539, allocations: 370.1 kB / 0.5399 GB, free: 6.672 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001813/0.5558, allocations: 0.5606 MB / 0.5404 GB, free: 6.113 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001551/0.5573, allocations: 1.111 MB / 0.5415 GB, free: 5 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003554/0.5577, allocations: 173.2 kB / 0.5417 GB, free: 4.828 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003256/0.5609, allocations: 1.307 MB / 0.543 GB, free: 3.52 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007701/0.5617, allocations: 398.7 kB / 0.5433 GB, free: 3.129 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001941/0.5619, allocations: 71.94 kB / 0.5434 GB, free: 3.059 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001192/0.5631, allocations: 435.1 kB / 0.5438 GB, free: 2.633 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005113/0.5636, allocations: 454.9 kB / 0.5443 GB, free: 2.188 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008018/0.5644, allocations: 426.7 kB / 0.5447 GB, free: 1.77 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002092/0.5665, allocations: 1.557 MB / 0.5462 GB, free: 216 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.5665, allocations: 0 / 0.5462 GB, free: 216 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5665, allocations: 0 / 0.5462 GB, free: 216 kB / 462.1 MB Notification: Performance of Transformations before backend: time 4.062e-05/0.5665, allocations: 0 / 0.5462 GB, free: 216 kB / 462.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.002368/0.5689, allocations: 1.011 MB / 0.5472 GB, free: 15.17 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.5689, allocations: 11.98 kB / 0.5472 GB, free: 15.16 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007691/0.5697, allocations: 151.5 kB / 0.5473 GB, free: 15.01 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.5707, allocations: 427.1 kB / 0.5477 GB, free: 14.56 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.256e-05/0.5708, allocations: 49.31 kB / 0.5478 GB, free: 14.51 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.5709, allocations: 68 kB / 0.5478 GB, free: 14.45 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002063/0.573, allocations: 1.562 MB / 0.5494 GB, free: 12.73 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.263e-05/0.573, allocations: 4 kB / 0.5494 GB, free: 12.73 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.5731, allocations: 32 kB / 0.5494 GB, free: 12.7 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.442e-05/0.5732, allocations: 37.98 kB / 0.5494 GB, free: 12.66 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001472/0.5746, allocations: 0.8745 MB / 0.5503 GB, free: 11.78 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.005349/0.58, allocations: 2.091 MB / 0.5523 GB, free: 9.66 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009642/0.581, allocations: 0.6152 MB / 0.5529 GB, free: 9.031 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005172/0.5815, allocations: 342.1 kB / 0.5533 GB, free: 8.691 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.828e-05/0.5815, allocations: 16.48 kB / 0.5533 GB, free: 8.676 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.105e-05/0.5816, allocations: 43.06 kB / 0.5533 GB, free: 8.625 MB / 478.1 MB Notification: Performance of pre-optimization done (n=59): time 3.296e-06/0.5816, allocations: 0 / 0.5533 GB, free: 8.625 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.01582/0.5974, allocations: 4.854 MB / 0.5581 GB, free: 3.672 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/0.5975, allocations: 64 kB / 0.5581 GB, free: 3.594 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005661/0.598, allocations: 353.8 kB / 0.5585 GB, free: 3.238 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001377/0.5982, allocations: 45.69 kB / 0.5585 GB, free: 3.188 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002613/0.5984, allocations: 304.7 kB / 0.5588 GB, free: 2.883 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000255/0.5987, allocations: 269.7 kB / 0.5591 GB, free: 2.617 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000273/0.5989, allocations: 142.7 kB / 0.5592 GB, free: 2.469 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.5991, allocations: 354.8 kB / 0.5595 GB, free: 2.113 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006979/0.5998, allocations: 441.7 kB / 0.5599 GB, free: 1.684 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008017/0.6006, allocations: 0.5116 MB / 0.5604 GB, free: 1.152 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/0.6022, allocations: 0.972 MB / 0.5614 GB, free: 168 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.6022, allocations: 4 kB / 0.5614 GB, free: 164 kB / 478.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.2325/0.8346, allocations: 1.324 MB / 0.5627 GB, free: 164.2 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.8346, allocations: 10.94 kB / 0.5627 GB, free: 164.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.8346, allocations: 1.188 kB / 0.5627 GB, free: 164.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005946/0.8352, allocations: 337.2 kB / 0.563 GB, free: 164.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009951/0.8362, allocations: 178.3 kB / 0.5632 GB, free: 164.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005666/0.8419, allocations: 10.06 MB / 0.573 GB, free: 154.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005304/0.8424, allocations: 23.2 kB / 0.573 GB, free: 154.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.669e-05/0.8425, allocations: 47.53 kB / 0.5731 GB, free: 154.6 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.0004516/0.843, allocations: 278.1 kB / 0.5734 GB, free: 154.4 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.8431, allocations: 53.2 kB / 0.5734 GB, free: 154.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001952/0.8451, allocations: 1.267 MB / 0.5746 GB, free: 153.9 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.8451, allocations: 12.94 kB / 0.5747 GB, free: 153.9 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.8451, allocations: 3.828 kB / 0.5747 GB, free: 153.9 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001605/0.8467, allocations: 1.599 MB / 0.5762 GB, free: 152.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00321/0.8499, allocations: 1.994 MB / 0.5782 GB, free: 151.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.8499, allocations: 4 kB / 0.5782 GB, free: 151.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/0.851, allocations: 219.3 kB / 0.5784 GB, free: 151.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001985/0.8512, allocations: 65.83 kB / 0.5784 GB, free: 151.7 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.677e-05/0.8513, allocations: 44.34 kB / 0.5785 GB, free: 151.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009715/0.8523, allocations: 1.408 MB / 0.5799 GB, free: 150.4 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.8523, allocations: 2.062 kB / 0.5799 GB, free: 150.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002531/0.8548, allocations: 1.586 MB / 0.5814 GB, free: 149.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/0.855, allocations: 55.84 kB / 0.5815 GB, free: 149.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.8551, allocations: 29.56 kB / 0.5815 GB, free: 149.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006495/0.8557, allocations: 33.08 kB / 0.5815 GB, free: 149.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.8559, allocations: 63.78 kB / 0.5816 GB, free: 149.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001279/0.856, allocations: 61.08 kB / 0.5816 GB, free: 149.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003477/0.8564, allocations: 257.4 kB / 0.5819 GB, free: 149.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 6e-08/0.8564, allocations: 0 / 0.5819 GB, free: 149.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001389/0.8577, allocations: 335.8 kB / 0.5822 GB, free: 149.5 MB / 478.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.001484/0.8592, allocations: 495 kB / 0.5827 GB, free: 149.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002425/0.8617, allocations: 1.836 MB / 0.5845 GB, free: 148.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/0.8617, allocations: 8.609 kB / 0.5845 GB, free: 148.2 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009497/0.8626, allocations: 0.665 MB / 0.5851 GB, free: 147.9 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001653/0.8643, allocations: 346.5 kB / 0.5855 GB, free: 147.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00374/0.868, allocations: 2.196 MB / 0.5876 GB, free: 146.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000451/0.8685, allocations: 379.2 kB / 0.588 GB, free: 146.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008007/0.8693, allocations: 245.2 kB / 0.5882 GB, free: 146.4 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002425/0.8695, allocations: 83.47 kB / 0.5883 GB, free: 146.4 MB / 478.1 MB Notification: Performance of SimCode: time 8.31e-07/0.8695, allocations: 0 / 0.5883 GB, free: 146.4 MB / 478.1 MB Notification: Performance of Templates: time 0.02812/0.8976, allocations: 24.2 MB / 0.6119 GB, free: 124 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 -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.7136323899030685]