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.001461/0.001461, allocations: 98.7 kB / 21.93 MB, free: 5.207 MB / 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.001501/0.001501, allocations: 203.2 kB / 25.22 MB, free: 3.145 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.488/1.488, allocations: 207.7 MB / 236.1 MB, free: 9.773 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.002067/0.002067, allocations: 55.92 kB / 348.5 MB, free: 9.332 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2473, allocations: 49.16 MB / 397.6 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.203/0.4504, allocations: 151.9 MB / 0.5366 GB, free: 10.79 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005624/0.456, allocations: 3.504 MB / 0.54 GB, free: 7.27 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002601/0.4563, allocations: 4 kB / 0.54 GB, free: 7.266 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008419/0.4571, allocations: 234.6 kB / 0.5403 GB, free: 7.035 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008402/0.4579, allocations: 370.1 kB / 0.5406 GB, free: 6.672 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001736/0.4597, allocations: 0.549 MB / 0.5412 GB, free: 6.125 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001556/0.4612, allocations: 1.115 MB / 0.5423 GB, free: 5.008 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003202/0.4616, allocations: 169.2 kB / 0.5424 GB, free: 4.84 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003252/0.4648, allocations: 1.312 MB / 0.5437 GB, free: 3.527 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007434/0.4655, allocations: 406.6 kB / 0.5441 GB, free: 3.129 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000139/0.4657, allocations: 64 kB / 0.5441 GB, free: 3.066 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.4669, allocations: 439 kB / 0.5446 GB, free: 2.637 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004581/0.4673, allocations: 447 kB / 0.545 GB, free: 2.199 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005541/0.4679, allocations: 438.6 kB / 0.5454 GB, free: 1.77 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002121/0.47, allocations: 1.545 MB / 0.5469 GB, free: 228 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.47, allocations: 0 / 0.5469 GB, free: 228 kB / 462.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.47, allocations: 0 / 0.5469 GB, free: 228 kB / 462.1 MB Notification: Performance of Transformations before backend: time 1.846e-05/0.47, allocations: 0 / 0.5469 GB, free: 228 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.002115/0.4722, allocations: 1.011 MB / 0.5479 GB, free: 15.18 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.4722, allocations: 15.98 kB / 0.5479 GB, free: 15.16 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000721/0.4729, allocations: 151.5 kB / 0.5481 GB, free: 15.01 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.4739, allocations: 419.1 kB / 0.5485 GB, free: 14.57 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.578e-05/0.474, allocations: 57.25 kB / 0.5485 GB, free: 14.52 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.4741, allocations: 68 kB / 0.5486 GB, free: 14.45 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001946/0.4761, allocations: 1.558 MB / 0.5501 GB, free: 12.74 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/0.4761, allocations: 0 / 0.5501 GB, free: 12.74 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.4762, allocations: 35.97 kB / 0.5501 GB, free: 12.7 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-05/0.4762, allocations: 45.98 kB / 0.5502 GB, free: 12.66 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/0.4778, allocations: 0.8667 MB / 0.551 GB, free: 11.79 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.005325/0.4831, allocations: 2.099 MB / 0.5531 GB, free: 9.664 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009487/0.4841, allocations: 0.6036 MB / 0.5537 GB, free: 9.051 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005101/0.4846, allocations: 342.1 kB / 0.554 GB, free: 8.711 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.986e-05/0.4846, allocations: 16.48 kB / 0.554 GB, free: 8.695 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.828e-05/0.4847, allocations: 51 kB / 0.5541 GB, free: 8.637 MB / 478.1 MB Notification: Performance of pre-optimization done (n=59): time 3.006e-06/0.4847, allocations: 0 / 0.5541 GB, free: 8.637 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.01543/0.5001, allocations: 4.855 MB / 0.5588 GB, free: 3.684 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.914e-05/0.5002, allocations: 64 kB / 0.5589 GB, free: 3.605 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004744/0.5006, allocations: 353.8 kB / 0.5592 GB, free: 3.25 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001578/0.5008, allocations: 53.69 kB / 0.5592 GB, free: 3.191 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002243/0.501, allocations: 292.7 kB / 0.5595 GB, free: 2.898 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002387/0.5013, allocations: 265.7 kB / 0.5598 GB, free: 2.637 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002634/0.5015, allocations: 146.7 kB / 0.5599 GB, free: 2.484 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.5017, allocations: 354.8 kB / 0.5603 GB, free: 2.129 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007239/0.5025, allocations: 453.7 kB / 0.5607 GB, free: 1.688 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008139/0.5033, allocations: 0.5116 MB / 0.5612 GB, free: 1.156 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001568/0.5048, allocations: 0.972 MB / 0.5621 GB, free: 172 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.5048, allocations: 3.938 kB / 0.5621 GB, free: 168 kB / 478.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.1821/0.687, allocations: 1.32 MB / 0.5634 GB, free: 164.2 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.687, allocations: 9.531 kB / 0.5634 GB, free: 164.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.687, allocations: 1.781 kB / 0.5634 GB, free: 164.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006258/0.6876, allocations: 333.5 kB / 0.5638 GB, free: 164.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.6886, allocations: 181.5 kB / 0.5639 GB, free: 164.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005748/0.6944, allocations: 10.07 MB / 0.5738 GB, free: 154.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005366/0.6949, allocations: 23 kB / 0.5738 GB, free: 154.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.072e-05/0.695, allocations: 46.53 kB / 0.5738 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.0004296/0.6954, allocations: 268.8 kB / 0.5741 GB, free: 154.4 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.6956, allocations: 57.28 kB / 0.5741 GB, free: 154.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001983/0.6976, allocations: 1.264 MB / 0.5754 GB, free: 153.9 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.988e-06/0.6976, allocations: 7.969 kB / 0.5754 GB, free: 153.9 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.6976, allocations: 1.344 kB / 0.5754 GB, free: 153.9 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001552/0.6991, allocations: 1.604 MB / 0.577 GB, free: 152.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003299/0.7024, allocations: 1.999 MB / 0.5789 GB, free: 151.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.7024, allocations: 1.734 kB / 0.5789 GB, free: 151.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/0.7036, allocations: 219.5 kB / 0.5791 GB, free: 151.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001975/0.7038, allocations: 69.12 kB / 0.5792 GB, free: 151.8 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.504e-05/0.7039, allocations: 45.14 kB / 0.5792 GB, free: 151.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009701/0.7048, allocations: 1.411 MB / 0.5806 GB, free: 150.4 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.7048, allocations: 1.281 kB / 0.5806 GB, free: 150.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002238/0.7071, allocations: 1.583 MB / 0.5822 GB, free: 149.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.7072, allocations: 54.03 kB / 0.5822 GB, free: 149.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.7073, allocations: 30.02 kB / 0.5822 GB, free: 149.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006306/0.708, allocations: 40.98 kB / 0.5823 GB, free: 149.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.7081, allocations: 60.45 kB / 0.5823 GB, free: 149.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/0.7082, allocations: 64.41 kB / 0.5824 GB, free: 149.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003019/0.7085, allocations: 257.3 kB / 0.5826 GB, free: 149.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7085, allocations: 0 / 0.5826 GB, free: 149.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001083/0.7096, allocations: 329 kB / 0.5829 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.001302/0.7109, allocations: 493.6 kB / 0.5834 GB, free: 149.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00234/0.7132, allocations: 1.837 MB / 0.5852 GB, free: 148.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.338e-05/0.7132, allocations: 2.281 kB / 0.5852 GB, free: 148.2 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009121/0.7142, allocations: 0.6692 MB / 0.5859 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.001705/0.7159, allocations: 355.4 kB / 0.5862 GB, free: 147.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003657/0.7195, allocations: 2.245 MB / 0.5884 GB, free: 146.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.7199, allocations: 378.9 kB / 0.5888 GB, free: 146.4 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003598/0.7203, allocations: 86.91 kB / 0.5888 GB, free: 146.4 MB / 478.1 MB Notification: Performance of SimCode: time 1.042e-06/0.7203, allocations: 1.438 kB / 0.5888 GB, free: 146.4 MB / 478.1 MB Notification: Performance of Templates: time 0.02353/0.7438, allocations: 25.14 MB / 0.6134 GB, free: 123.2 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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.458208451978862]