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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001487/0.001487, allocations: 179 kB / 18.04 MB, free: 3.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.4 MB / 224.2 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007577/0.0007577, allocations: 89.73 kB / 272.5 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003057/0.0003057, allocations: 8 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2263, allocations: 47.58 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.293/1.519, allocations: 0.7118 GB / 1.08 GB, free: 56.83 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/1.52, allocations: 99.92 kB / 1.08 GB, free: 56.73 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.722/3.241, allocations: 0.548 GB / 1.628 GB, free: 80.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.194e-06/3.241, allocations: 0 / 1.628 GB, free: 80.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.124e-05/3.242, allocations: 16.12 kB / 1.628 GB, free: 80.8 MB / 442.7 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.002346/3.244, allocations: 0.9996 MB / 1.629 GB, free: 80.41 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/3.244, allocations: 7.031 kB / 1.629 GB, free: 80.41 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006861/3.245, allocations: 145.3 kB / 1.629 GB, free: 80.37 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006362/3.245, allocations: 491.4 kB / 1.63 GB, free: 80.15 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.188e-05/3.245, allocations: 57.69 kB / 1.63 GB, free: 80.15 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/3.245, allocations: 70.84 kB / 1.63 GB, free: 80.15 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/3.247, allocations: 0.9308 MB / 1.631 GB, free: 80.09 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/3.247, allocations: 0.6875 kB / 1.631 GB, free: 80.09 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.557e-05/3.247, allocations: 39.28 kB / 1.631 GB, free: 80.09 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/3.247, allocations: 19.69 kB / 1.631 GB, free: 80.09 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/3.248, allocations: 0.8461 MB / 1.632 GB, free: 80.08 MB / 442.7 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.003938/3.252, allocations: 3.447 MB / 1.635 GB, free: 78.57 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006922/3.253, allocations: 0.6244 MB / 1.636 GB, free: 78.54 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003778/3.253, allocations: 360.9 kB / 1.636 GB, free: 78.53 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.367e-05/3.253, allocations: 19.28 kB / 1.636 GB, free: 78.53 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/3.253, allocations: 49.22 kB / 1.636 GB, free: 78.49 MB / 442.7 MB Notification: Performance of pre-optimization done (n=59): time 2.274e-06/3.253, allocations: 0 / 1.636 GB, free: 78.49 MB / 442.7 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.01227/3.265, allocations: 6.2 MB / 1.642 GB, free: 76.41 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/3.265, allocations: 61 kB / 1.642 GB, free: 76.35 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005875/3.266, allocations: 0.5424 MB / 1.643 GB, free: 76.24 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001217/3.266, allocations: 45.3 kB / 1.643 GB, free: 76.21 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/3.266, allocations: 280.3 kB / 1.643 GB, free: 76.08 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/3.266, allocations: 248.3 kB / 1.643 GB, free: 75.95 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.497e-05/3.267, allocations: 16.44 kB / 1.643 GB, free: 75.95 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.231e-05/3.267, allocations: 371.3 kB / 1.644 GB, free: 75.64 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005689/3.267, allocations: 440 kB / 1.644 GB, free: 75.64 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006363/3.268, allocations: 0.5119 MB / 1.644 GB, free: 75.58 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/3.269, allocations: 0.9678 MB / 1.645 GB, free: 75.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/3.269, allocations: 0 / 1.645 GB, free: 75.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001749/3.271, allocations: 1.332 MB / 1.647 GB, free: 75.37 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/3.271, allocations: 7.938 kB / 1.647 GB, free: 75.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/3.271, allocations: 0 / 1.647 GB, free: 75.37 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005336/3.271, allocations: 332.5 kB / 1.647 GB, free: 75.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008662/3.272, allocations: 183.4 kB / 1.647 GB, free: 75.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005682/3.278, allocations: 10.22 MB / 1.657 GB, free: 66.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006699/3.279, allocations: 78.11 kB / 1.657 GB, free: 66.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.649e-05/3.279, allocations: 50.53 kB / 1.657 GB, free: 66.02 MB / 442.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004202/3.279, allocations: 270.8 kB / 1.658 GB, free: 65.9 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/3.279, allocations: 64.69 kB / 1.658 GB, free: 65.87 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001821/3.281, allocations: 1.277 MB / 1.659 GB, free: 65.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/3.281, allocations: 10.34 kB / 1.659 GB, free: 65.75 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/3.281, allocations: 2.625 kB / 1.659 GB, free: 65.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00139/3.283, allocations: 1.603 MB / 1.66 GB, free: 64.91 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003009/3.286, allocations: 2.266 MB / 1.663 GB, free: 64.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/3.286, allocations: 3.891 kB / 1.663 GB, free: 64.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/3.287, allocations: 225.9 kB / 1.663 GB, free: 64.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000165/3.287, allocations: 68.86 kB / 1.663 GB, free: 64.53 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.244e-05/3.287, allocations: 47.12 kB / 1.663 GB, free: 64.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008836/3.288, allocations: 1.444 MB / 1.664 GB, free: 63.28 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/3.288, allocations: 1.125 kB / 1.664 GB, free: 63.28 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002256/3.29, allocations: 1.586 MB / 1.666 GB, free: 63.06 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002135/3.29, allocations: 145 kB / 1.666 GB, free: 62.94 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/3.291, allocations: 32.16 kB / 1.666 GB, free: 62.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008112/3.291, allocations: 69.69 kB / 1.666 GB, free: 62.94 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/3.292, allocations: 57.06 kB / 1.666 GB, free: 62.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/3.292, allocations: 67.95 kB / 1.666 GB, free: 62.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004488/3.292, allocations: 406.6 kB / 1.667 GB, free: 62.84 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/3.292, allocations: 2.25 kB / 1.667 GB, free: 62.84 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001468/3.294, allocations: 414.3 kB / 1.667 GB, free: 62.84 MB / 442.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002456/3.296, allocations: 1.149 MB / 1.668 GB, free: 62.67 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002261/3.298, allocations: 1.86 MB / 1.67 GB, free: 61.89 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/3.298, allocations: 1.344 kB / 1.67 GB, free: 61.89 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008535/3.299, allocations: 0.6853 MB / 1.671 GB, free: 61.78 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/3.301, allocations: 491.2 kB / 1.671 GB, free: 61.77 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003406/3.305, allocations: 2.541 MB / 1.674 GB, free: 60.99 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004219/3.305, allocations: 0.9761 MB / 1.675 GB, free: 60.29 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001024/3.306, allocations: 278.7 kB / 1.675 GB, free: 60.28 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/3.307, allocations: 87.62 kB / 1.675 GB, free: 60.27 MB / 442.7 MB Notification: Performance of SimCode: time 4.81e-07/3.307, allocations: 3.531 kB / 1.675 GB, free: 60.27 MB / 442.7 MB Notification: Performance of Templates: time 0.04487/3.351, allocations: 35.95 MB / 1.71 GB, free: 59.46 MB / 442.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (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) 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","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches