Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.002089/0.002089, allocations: 106 kB / 21.18 MB, free: 0.707 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.002544/0.002544, allocations: 183.9 kB / 24.47 MB, free: 4.074 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.537/1.537, 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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [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.001857/0.001857, allocations: 55.91 kB / 347.7 MB, free: 9.602 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3174, allocations: 49.16 MB / 396.9 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.2362/0.5536, allocations: 176.4 MB / 0.5598 GB, free: 2.406 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2786/0.8322, allocations: 3.87 MB / 0.5636 GB, free: 1.73 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002035/0.8324, allocations: 5.156 kB / 0.5636 GB, free: 1.73 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007844/0.8332, allocations: 233.1 kB / 0.5638 GB, free: 1.73 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000686/0.8339, allocations: 373.1 kB / 0.5642 GB, free: 1.73 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001548/0.8354, allocations: 0.5519 MB / 0.5647 GB, free: 1.727 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001449/0.8369, allocations: 1.13 MB / 0.5658 GB, free: 1.723 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.8371, allocations: 79 kB / 0.5659 GB, free: 1.715 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00303/0.8401, allocations: 1.289 MB / 0.5671 GB, free: 1.707 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005002/0.8406, allocations: 359.2 kB / 0.5675 GB, free: 1.703 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.17e-05/0.8407, allocations: 45.19 kB / 0.5675 GB, free: 1.703 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.8418, allocations: 479.5 kB / 0.568 GB, free: 1.699 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001931/0.842, allocations: 238.1 kB / 0.5682 GB, free: 1.699 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003744/0.8423, allocations: 314 kB / 0.5685 GB, free: 1.699 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.8436, allocations: 1.083 MB / 0.5696 GB, free: 1.652 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.8436, allocations: 0.75 kB / 0.5696 GB, free: 1.652 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.8436, allocations: 0 / 0.5696 GB, free: 1.652 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.477e-06/0.8436, allocations: 1.625 kB / 0.5696 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001458/0.8451, allocations: 0.7446 MB / 0.5703 GB, free: 17.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.8451, allocations: 10.22 kB / 0.5703 GB, free: 17.23 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006437/0.8458, allocations: 121.5 kB / 0.5704 GB, free: 17.21 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005732/0.8463, allocations: 324.3 kB / 0.5707 GB, free: 17.04 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.994e-05/0.8464, allocations: 27.34 kB / 0.5708 GB, free: 17.04 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.989e-05/0.8465, allocations: 39.34 kB / 0.5708 GB, free: 17.04 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009004/0.8474, allocations: 0.5583 MB / 0.5713 GB, free: 16.97 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.8474, allocations: 5.219 kB / 0.5713 GB, free: 16.97 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.361e-05/0.8474, allocations: 20.69 kB / 0.5714 GB, free: 16.97 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.8474, allocations: 9.219 kB / 0.5714 GB, free: 16.97 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006395/0.8481, allocations: 450.3 kB / 0.5718 GB, free: 16.97 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.003464/0.8515, allocations: 1.947 MB / 0.5737 GB, free: 16.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.8518, allocations: 137.4 kB / 0.5738 GB, free: 16 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.8519, allocations: 72.64 kB / 0.5739 GB, free: 15.99 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.852, allocations: 6.828 kB / 0.5739 GB, free: 15.99 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.689e-05/0.852, allocations: 36.78 kB / 0.5739 GB, free: 15.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.754e-06/0.852, allocations: 3.094 kB / 0.574 GB, free: 15.95 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.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.006293/0.8583, allocations: 1.462 MB / 0.5754 GB, free: 15.44 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.8584, allocations: 60.91 kB / 0.5754 GB, free: 15.37 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005574/0.8589, allocations: 481.2 kB / 0.5759 GB, free: 15.24 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.859, allocations: 31.39 kB / 0.5759 GB, free: 15.21 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/0.8591, allocations: 330.7 kB / 0.5762 GB, free: 15 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.367e-05/0.8592, allocations: 94 kB / 0.5763 GB, free: 14.94 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.8594, allocations: 123.8 kB / 0.5764 GB, free: 14.92 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.8595, allocations: 355.1 kB / 0.5768 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.8597, allocations: 135.6 kB / 0.5769 GB, free: 14.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003436/0.8601, allocations: 442.4 kB / 0.5773 GB, free: 14.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006714/0.8607, allocations: 0.6056 MB / 0.5779 GB, free: 13.86 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.8608, allocations: 4.594 kB / 0.5779 GB, free: 13.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009317/0.8617, allocations: 0.6341 MB / 0.5786 GB, free: 13.78 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.8617, allocations: 10.31 kB / 0.5786 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.8617, allocations: 8.219 kB / 0.5786 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001785/0.8619, allocations: 64.81 kB / 0.5786 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004601/0.8624, allocations: 140 kB / 0.5788 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001565/0.8639, allocations: 1.836 MB / 0.5806 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004245/0.8643, allocations: 26.8 kB / 0.5806 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.246e-05/0.8644, allocations: 35.62 kB / 0.5806 GB, free: 12.03 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002384/0.8646, allocations: 211.7 kB / 0.5808 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.826e-05/0.8647, allocations: 48.38 kB / 0.5809 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004904/0.8652, allocations: 287.9 kB / 0.5811 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.8652, allocations: 2.969 kB / 0.5811 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.8652, allocations: 0 / 0.5811 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005326/0.8657, allocations: 0.529 MB / 0.5817 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.8668, allocations: 0.6712 MB / 0.5823 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.8668, allocations: 0 / 0.5823 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/0.867, allocations: 56.45 kB / 0.5824 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.088e-05/0.8671, allocations: 20.11 kB / 0.5824 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.8671, allocations: 9.953 kB / 0.5824 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009937/0.8681, allocations: 1.276 MB / 0.5836 GB, free: 9.871 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.8681, allocations: 0.8438 kB / 0.5836 GB, free: 9.871 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005439/0.8687, allocations: 435.6 kB / 0.5841 GB, free: 9.699 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.298e-05/0.8688, allocations: 41.56 kB / 0.5841 GB, free: 9.676 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.942e-05/0.8688, allocations: 4.375 kB / 0.5841 GB, free: 9.676 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.8691, allocations: 9.438 kB / 0.5841 GB, free: 9.676 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.8691, allocations: 17.88 kB / 0.5841 GB, free: 9.676 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.8691, allocations: 14.33 kB / 0.5841 GB, free: 9.676 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003252/0.8695, allocations: 328.7 kB / 0.5845 GB, free: 9.598 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8695, allocations: 0.9062 kB / 0.5845 GB, free: 9.598 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009666/0.8704, allocations: 209.6 kB / 0.5847 GB, free: 9.582 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,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 (23): * Single equations (assignments): 22 * 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.001188/0.8716, allocations: 461.5 kB / 0.5851 GB, free: 9.465 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007973/0.8724, allocations: 453.3 kB / 0.5855 GB, free: 9.348 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.8724, allocations: 1 kB / 0.5855 GB, free: 9.348 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002591/0.8727, allocations: 209.1 kB / 0.5857 GB, free: 9.23 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009968/0.8737, allocations: 223.7 kB / 0.5859 GB, free: 9.207 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.8751, allocations: 0.8679 MB / 0.5868 GB, free: 8.848 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005329/0.8756, allocations: 0.8243 MB / 0.5876 GB, free: 8.148 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004347/0.8761, allocations: 134.3 kB / 0.5877 GB, free: 8.137 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.8762, allocations: 44.58 kB / 0.5878 GB, free: 8.129 MB / 494.1 MB Notification: Performance of SimCode: time 3.41e-07/0.8762, allocations: 0.875 kB / 0.5878 GB, free: 8.129 MB / 494.1 MB Notification: Performance of Templates: time 0.01999/0.8961, allocations: 12.9 MB / 0.6004 GB, free: 7.062 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_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/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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: 5.691012389026582]