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.001768/0.001768, allocations: 86.14 kB / 21.44 MB, free: 296 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.00236/0.00236, allocations: 164.5 kB / 24.7 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.367/1.367, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.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: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 299 MB, free: 8.68 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.241e-05/3.404e-05, allocations: 2.281 kB / 299 MB, free: 8.676 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3803/0.3804, allocations: 151.8 MB / 450.8 MB, free: 6.035 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005298/0.3857, allocations: 3.492 MB / 454.3 MB, free: 2.531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000394/0.386, allocations: 11.94 kB / 454.3 MB, free: 2.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009336/0.387, allocations: 230.5 kB / 454.6 MB, free: 2.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001033/0.388, allocations: 373.7 kB / 454.9 MB, free: 1.926 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002024/0.39, allocations: 0.5705 MB / 455.5 MB, free: 1.355 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001798/0.3918, allocations: 1.106 MB / 456.6 MB, free: 252 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004454/0.3923, allocations: 169.8 kB / 456.8 MB, free: 88 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003995/0.3963, allocations: 1.472 MB / 458.2 MB, free: 14.61 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008236/0.3971, allocations: 375.1 kB / 458.6 MB, free: 14.24 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002287/0.3973, allocations: 68 kB / 458.7 MB, free: 14.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001312/0.3986, allocations: 446.8 kB / 459.1 MB, free: 13.74 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005789/0.3992, allocations: 471 kB / 459.6 MB, free: 13.28 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008088/0.4, allocations: 379.4 kB / 459.9 MB, free: 12.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002359/0.4024, allocations: 1.627 MB / 461.6 MB, free: 11.28 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4024, allocations: 0 / 461.6 MB, free: 11.28 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.507e-06/0.4024, allocations: 4 kB / 461.6 MB, free: 11.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.923e-05/0.4024, allocations: 4 kB / 461.6 MB, free: 11.27 MB / 414.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.00268/0.4051, allocations: 0.9918 MB / 462.6 MB, free: 10.24 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.95e-05/0.4052, allocations: 11.98 kB / 462.6 MB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009265/0.4061, allocations: 151.5 kB / 462.7 MB, free: 10.08 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.4072, allocations: 431.5 kB / 463.1 MB, free: 9.633 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.703e-05/0.4072, allocations: 49.31 kB / 463.2 MB, free: 9.586 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/0.4074, allocations: 68 kB / 463.3 MB, free: 9.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002449/0.4099, allocations: 1.554 MB / 464.8 MB, free: 7.812 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.878e-05/0.4099, allocations: 3.984 kB / 464.8 MB, free: 7.809 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.41, allocations: 32 kB / 464.8 MB, free: 7.777 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-05/0.4101, allocations: 49.92 kB / 464.9 MB, free: 7.727 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/0.4117, allocations: 0.8667 MB / 465.8 MB, free: 6.859 MB / 414.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.005744/0.4175, allocations: 2.103 MB / 467.9 MB, free: 4.719 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009873/0.4185, allocations: 0.6044 MB / 468.5 MB, free: 4.105 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005159/0.419, allocations: 341.9 kB / 468.8 MB, free: 3.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.618e-05/0.419, allocations: 20.48 kB / 468.8 MB, free: 3.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.926e-05/0.4191, allocations: 43.06 kB / 468.9 MB, free: 3.699 MB / 414.1 MB Notification: Performance of pre-optimization done (n=59): time 3.396e-06/0.4191, allocations: 0 / 468.9 MB, free: 3.699 MB / 414.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.01677/0.4359, allocations: 4.883 MB / 473.7 MB, free: 14.73 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.569e-05/0.4359, allocations: 60.06 kB / 473.8 MB, free: 14.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000667/0.4366, allocations: 361.7 kB / 474.2 MB, free: 14.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001786/0.4368, allocations: 41.7 kB / 474.2 MB, free: 14.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003069/0.4371, allocations: 300.7 kB / 474.5 MB, free: 13.95 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002826/0.4374, allocations: 261.7 kB / 474.7 MB, free: 13.69 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003202/0.4377, allocations: 150.6 kB / 474.9 MB, free: 13.54 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002171/0.4379, allocations: 358.7 kB / 475.2 MB, free: 13.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007624/0.4387, allocations: 445.7 kB / 475.7 MB, free: 12.74 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008214/0.4395, allocations: 0.5116 MB / 476.2 MB, free: 12.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001625/0.4411, allocations: 0.972 MB / 477.2 MB, free: 11.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.4411, allocations: 0 / 477.2 MB, free: 11.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002474/0.4436, allocations: 1.328 MB / 478.5 MB, free: 9.863 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.4436, allocations: 4 kB / 478.5 MB, free: 9.859 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.4436, allocations: 4 kB / 478.5 MB, free: 9.855 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007612/0.4444, allocations: 330.6 kB / 478.8 MB, free: 9.508 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.4456, allocations: 187.9 kB / 479 MB, free: 9.324 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1793/0.6249, allocations: 10.04 MB / 489.1 MB, free: 157.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005837/0.6255, allocations: 23.53 kB / 489.1 MB, free: 157.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-05/0.6256, allocations: 46.88 kB / 489.1 MB, free: 157.6 MB / 430.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.0004293/0.626, allocations: 272.7 kB / 489.4 MB, free: 157.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.6261, allocations: 49.11 kB / 489.4 MB, free: 157.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002067/0.6282, allocations: 1.269 MB / 490.7 MB, free: 157.4 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.6282, allocations: 11.47 kB / 490.7 MB, free: 157.4 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.6282, allocations: 1.453 kB / 490.7 MB, free: 157.4 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001604/0.6298, allocations: 1.598 MB / 492.3 MB, free: 156.2 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003327/0.6331, allocations: 2.005 MB / 494.3 MB, free: 155.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.6331, allocations: 1.375 kB / 494.3 MB, free: 155.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/0.6343, allocations: 214.8 kB / 494.5 MB, free: 155.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002018/0.6345, allocations: 69.41 kB / 494.6 MB, free: 155.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.159e-05/0.6346, allocations: 41.06 kB / 494.6 MB, free: 155.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/0.6357, allocations: 1.414 MB / 496 MB, free: 154 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.6357, allocations: 1.188 kB / 496.1 MB, free: 154 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002304/0.638, allocations: 1.585 MB / 497.6 MB, free: 153.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.6381, allocations: 47.53 kB / 497.7 MB, free: 153.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.6382, allocations: 35.64 kB / 497.7 MB, free: 153.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006625/0.6389, allocations: 37.55 kB / 497.8 MB, free: 153.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.639, allocations: 56.05 kB / 497.8 MB, free: 153.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/0.6391, allocations: 60.94 kB / 497.9 MB, free: 153.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003044/0.6394, allocations: 261.3 kB / 498.1 MB, free: 153.1 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6394, allocations: 0 / 498.1 MB, free: 153.1 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001162/0.6406, allocations: 327.1 kB / 498.4 MB, free: 153.1 MB / 430.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.001399/0.642, allocations: 0.4977 MB / 498.9 MB, free: 153 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002305/0.6443, allocations: 1.831 MB / 0.489 GB, free: 151.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.6443, allocations: 6.281 kB / 0.489 GB, free: 151.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009504/0.6452, allocations: 0.6614 MB / 0.4897 GB, free: 151.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001805/0.647, allocations: 346.7 kB / 0.49 GB, free: 151.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00398/0.651, allocations: 2 MB / 0.492 GB, free: 150.6 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004879/0.6515, allocations: 382.5 kB / 0.4923 GB, free: 150.4 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008429/0.6524, allocations: 246.3 kB / 0.4926 GB, free: 150.4 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002748/0.6526, allocations: 81.03 kB / 0.4926 GB, free: 150.4 MB / 430.1 MB Notification: Performance of SimCode: time 1.202e-06/0.6526, allocations: 4 kB / 0.4927 GB, free: 150.4 MB / 430.1 MB Notification: Performance of Templates: time 0.02904/0.6817, allocations: 22.8 MB / 0.5149 GB, free: 130.8 MB / 430.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.245690956711769]