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.001719/0.001719, allocations: 120.2 kB / 21.94 MB, free: 8 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.001762/0.001762, allocations: 202.7 kB / 25.23 MB, free: 3.551 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.513/1.513, allocations: 207.6 MB / 236 MB, free: 9.984 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.001724/0.001724, allocations: 51.92 kB / 348.5 MB, free: 9.477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2947, allocations: 49.16 MB / 397.6 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.2374/0.5321, allocations: 176.3 MB / 0.5605 GB, free: 2.48 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2787/0.8108, allocations: 3.861 MB / 0.5642 GB, free: 1.742 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002214/0.811, allocations: 7.312 kB / 0.5642 GB, free: 1.742 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000801/0.8118, allocations: 245.8 kB / 0.5645 GB, free: 1.742 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006976/0.8125, allocations: 374.5 kB / 0.5648 GB, free: 1.742 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001505/0.814, allocations: 0.5518 MB / 0.5654 GB, free: 1.738 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0015/0.8155, allocations: 1.114 MB / 0.5665 GB, free: 1.738 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003303/0.8159, allocations: 181.4 kB / 0.5666 GB, free: 1.723 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003312/0.8192, allocations: 1.32 MB / 0.5679 GB, free: 1.715 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006666/0.8198, allocations: 427.8 kB / 0.5683 GB, free: 1.715 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001373/0.82, allocations: 66.59 kB / 0.5684 GB, free: 1.715 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.8212, allocations: 0.492 MB / 0.5689 GB, free: 1.711 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003885/0.8216, allocations: 447.9 kB / 0.5693 GB, free: 1.711 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006103/0.8222, allocations: 0.4893 MB / 0.5698 GB, free: 1.711 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001966/0.8241, allocations: 1.541 MB / 0.5713 GB, free: 1.641 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.8242, allocations: 4.047 kB / 0.5713 GB, free: 1.641 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.8242, allocations: 0 / 0.5713 GB, free: 1.641 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.587e-05/0.8242, allocations: 1.906 kB / 0.5713 GB, free: 1.641 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.002041/0.8262, allocations: 0.9996 MB / 0.5723 GB, free: 17.15 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.8263, allocations: 14.58 kB / 0.5723 GB, free: 17.14 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007019/0.827, allocations: 152.4 kB / 0.5724 GB, free: 17.11 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008575/0.8278, allocations: 428.7 kB / 0.5728 GB, free: 16.93 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.785e-05/0.8279, allocations: 51.69 kB / 0.5729 GB, free: 16.93 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.828, allocations: 68.02 kB / 0.5729 GB, free: 16.92 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.8295, allocations: 0.9489 MB / 0.5739 GB, free: 16.87 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.922e-05/0.8295, allocations: 4.766 kB / 0.5739 GB, free: 16.87 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.162e-05/0.8296, allocations: 30.81 kB / 0.5739 GB, free: 16.87 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.753e-05/0.8297, allocations: 41.33 kB / 0.5739 GB, free: 16.87 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001362/0.8311, allocations: 0.8759 MB / 0.5748 GB, free: 16.86 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.006001/0.8371, allocations: 3.199 MB / 0.5779 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007681/0.8378, allocations: 0.6048 MB / 0.5785 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003946/0.8382, allocations: 346.2 kB / 0.5788 GB, free: 15.47 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.017e-05/0.8383, allocations: 20.31 kB / 0.5789 GB, free: 15.47 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.745e-05/0.8383, allocations: 50.44 kB / 0.5789 GB, free: 15.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=59): time 2.004e-06/0.8383, allocations: 0.625 kB / 0.5789 GB, free: 15.43 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.01353/0.8518, allocations: 4.867 MB / 0.5837 GB, free: 14.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.8519, allocations: 57.69 kB / 0.5837 GB, free: 14.71 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006298/0.8525, allocations: 0.5549 MB / 0.5843 GB, free: 14.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001064/0.8526, allocations: 42.3 kB / 0.5843 GB, free: 14.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.8528, allocations: 277.6 kB / 0.5846 GB, free: 14.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/0.853, allocations: 271.4 kB / 0.5848 GB, free: 14.24 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/0.8532, allocations: 139.5 kB / 0.585 GB, free: 14.23 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.8534, allocations: 373.3 kB / 0.5853 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005447/0.8539, allocations: 445.9 kB / 0.5857 GB, free: 13.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000587/0.8545, allocations: 0.5179 MB / 0.5862 GB, free: 13.86 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.8556, allocations: 0.9698 MB / 0.5872 GB, free: 13.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.8557, allocations: 0.9062 kB / 0.5872 GB, free: 13.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001808/0.8575, allocations: 1.341 MB / 0.5885 GB, free: 13.65 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.8575, allocations: 7.594 kB / 0.5885 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.8575, allocations: 4.094 kB / 0.5885 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005595/0.858, allocations: 332.2 kB / 0.5888 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009322/0.859, allocations: 181.3 kB / 0.589 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008709/0.8677, allocations: 10.25 MB / 0.599 GB, free: 4.547 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000786/0.8685, allocations: 20.36 kB / 0.599 GB, free: 4.547 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.878e-05/0.8686, allocations: 46.38 kB / 0.5991 GB, free: 4.547 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.000597/0.8692, allocations: 273.8 kB / 0.5993 GB, free: 4.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/0.8693, allocations: 64.19 kB / 0.5994 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001936/0.8713, allocations: 1.279 MB / 0.6006 GB, free: 4.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.8713, allocations: 9.688 kB / 0.6007 GB, free: 4.27 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.8713, allocations: 0 / 0.6007 GB, free: 4.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001715/0.873, allocations: 1.602 MB / 0.6022 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003263/0.8763, allocations: 2.234 MB / 0.6044 GB, free: 3.105 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.8763, allocations: 5.562 kB / 0.6044 GB, free: 3.105 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.8773, allocations: 220.6 kB / 0.6046 GB, free: 3.105 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000173/0.8775, allocations: 70.62 kB / 0.6047 GB, free: 3.098 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.78e-05/0.8776, allocations: 42.38 kB / 0.6047 GB, free: 3.098 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/0.879, allocations: 1.44 MB / 0.6061 GB, free: 1.867 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.879, allocations: 2.125 kB / 0.6061 GB, free: 1.867 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/0.8811, allocations: 1.602 MB / 0.6077 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002413/0.8813, allocations: 71.45 kB / 0.6078 GB, free: 1.602 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.8814, allocations: 27.02 kB / 0.6078 GB, free: 1.602 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006194/0.882, allocations: 38.41 kB / 0.6078 GB, free: 1.602 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.527e-05/0.8821, allocations: 61.7 kB / 0.6079 GB, free: 1.602 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.106e-05/0.8822, allocations: 58.7 kB / 0.6079 GB, free: 1.602 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004231/0.8826, allocations: 406.2 kB / 0.6083 GB, free: 1.516 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8826, allocations: 0 / 0.6083 GB, free: 1.516 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001231/0.8839, allocations: 338.9 kB / 0.6087 GB, free: 1.492 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.001274/0.8851, allocations: 498.8 kB / 0.6091 GB, free: 1.383 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002393/0.8875, allocations: 1.833 MB / 0.6109 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.8875, allocations: 5.406 kB / 0.6109 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008238/0.8884, allocations: 0.6675 MB / 0.6116 GB, free: 492 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002234/0.8906, allocations: 0.5036 MB / 0.6121 GB, free: 408 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005752/0.8964, allocations: 2.29 MB / 0.6143 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009226/0.8973, allocations: 0.9759 MB / 0.6153 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005759/0.8979, allocations: 94.7 kB / 0.6153 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of SimCode: time 2.355e-06/0.8979, allocations: 0 / 0.6153 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of Templates: time 0.05694/0.9548, allocations: 26.93 MB / 0.6416 GB, free: 10.9 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/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: 12.495096171973273]