Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002773/0.002779, allocations: 182.1 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.583/3.583, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001904/0.001904, allocations: 89.3 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000691/0.0006912, allocations: 8 kB / 327 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5264/0.5272, allocations: 47.57 MB / 374.5 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.8394/1.367, allocations: 137.2 MB / 0.4998 GB, free: 1.949 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006171/1.373, allocations: 1.944 MB / 0.5017 GB, free: 1.918 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006347/1.374, allocations: 6.781 kB / 0.5017 GB, free: 1.914 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001173/1.375, allocations: 132.4 kB / 0.5018 GB, free: 1.914 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001861/1.377, allocations: 281.6 kB / 0.5021 GB, free: 1.91 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00211/1.379, allocations: 268.6 kB / 0.5023 GB, free: 1.906 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001717/1.381, allocations: 489 kB / 0.5028 GB, free: 1.906 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000428/1.381, allocations: 69.69 kB / 0.5029 GB, free: 1.891 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002657/1.384, allocations: 440.1 kB / 0.5033 GB, free: 1.887 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007816/1.385, allocations: 173.1 kB / 0.5035 GB, free: 1.887 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001947/1.385, allocations: 17.91 kB / 0.5035 GB, free: 1.883 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009892/1.386, allocations: 99.83 kB / 0.5036 GB, free: 1.883 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002546/1.386, allocations: 79.53 kB / 0.5036 GB, free: 1.883 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002864/1.387, allocations: 88.77 kB / 0.5037 GB, free: 1.852 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001151/1.388, allocations: 387.1 kB / 0.5041 GB, free: 1.828 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.388, allocations: 0 / 0.5041 GB, free: 1.828 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.236e-06/1.388, allocations: 0 / 0.5041 GB, free: 1.828 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.785e-05/1.388, allocations: 0 / 0.5041 GB, free: 1.828 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001851/1.39, allocations: 0.5187 MB / 0.5046 GB, free: 17.39 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/1.39, allocations: 10.97 kB / 0.5046 GB, free: 17.39 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007341/1.391, allocations: 48.94 kB / 0.5047 GB, free: 17.38 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008539/1.392, allocations: 272.6 kB / 0.5049 GB, free: 17.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.907e-05/1.392, allocations: 20.97 kB / 0.5049 GB, free: 17.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/1.392, allocations: 24.19 kB / 0.505 GB, free: 17.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/1.393, allocations: 319.6 kB / 0.5053 GB, free: 17.06 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.053e-05/1.393, allocations: 0.875 kB / 0.5053 GB, free: 17.06 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/1.393, allocations: 14.72 kB / 0.5053 GB, free: 17.06 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/1.393, allocations: 5.844 kB / 0.5053 GB, free: 17.06 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008364/1.394, allocations: 200.3 kB / 0.5055 GB, free: 17.06 MB / 394.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.004546/1.399, allocations: 1.585 MB / 0.507 GB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007155/1.4, allocations: 176.8 kB / 0.5072 GB, free: 15.84 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.318e-05/1.4, allocations: 10.03 kB / 0.5072 GB, free: 15.83 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.14e-05/1.4, allocations: 41.34 kB / 0.5072 GB, free: 15.79 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 6.091e-06/1.4, allocations: 2.906 kB / 0.5072 GB, free: 15.79 MB / 394.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.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.01458/1.414, allocations: 1.618 MB / 0.5088 GB, free: 15.05 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.143e-05/1.415, allocations: 54.22 kB / 0.5089 GB, free: 14.99 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006028/1.415, allocations: 263.1 kB / 0.5091 GB, free: 14.88 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001438/1.415, allocations: 29.14 kB / 0.5092 GB, free: 14.85 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/1.416, allocations: 225.9 kB / 0.5094 GB, free: 14.66 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/1.416, allocations: 103.3 kB / 0.5095 GB, free: 14.6 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-05/1.416, allocations: 12.12 kB / 0.5095 GB, free: 14.59 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002363/1.416, allocations: 325.9 kB / 0.5098 GB, free: 14.28 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004328/1.417, allocations: 90.52 kB / 0.5099 GB, free: 14.28 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005224/1.417, allocations: 183.3 kB / 0.5101 GB, free: 14.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005237/1.418, allocations: 117.1 kB / 0.5102 GB, free: 14.16 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/1.418, allocations: 2.688 kB / 0.5102 GB, free: 14.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001695/1.419, allocations: 379.5 kB / 0.5105 GB, free: 14.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.04e-05/1.42, allocations: 8.344 kB / 0.5105 GB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-05/1.42, allocations: 2.938 kB / 0.5105 GB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005731/1.42, allocations: 80.78 kB / 0.5106 GB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/1.421, allocations: 80.31 kB / 0.5107 GB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003427/1.425, allocations: 1.87 MB / 0.5125 GB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008319/1.426, allocations: 19.34 kB / 0.5125 GB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001767/1.426, allocations: 37.69 kB / 0.5126 GB, free: 12.29 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004716/1.426, allocations: 157.5 kB / 0.5127 GB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/1.427, allocations: 36.44 kB / 0.5128 GB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002324/1.429, allocations: 443.7 kB / 0.5132 GB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/1.429, allocations: 3.219 kB / 0.5132 GB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/1.429, allocations: 1.75 kB / 0.5132 GB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001382/1.43, allocations: 0.5578 MB / 0.5137 GB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002637/1.433, allocations: 0.7236 MB / 0.5144 GB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/1.433, allocations: 4 kB / 0.5144 GB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008851/1.434, allocations: 74.66 kB / 0.5145 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002061/1.434, allocations: 20.97 kB / 0.5145 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.922e-05/1.435, allocations: 19.14 kB / 0.5146 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002085/1.437, allocations: 1.281 MB / 0.5158 GB, free: 9.988 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.368e-06/1.437, allocations: 4.094 kB / 0.5158 GB, free: 9.988 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002104/1.439, allocations: 0.4953 MB / 0.5163 GB, free: 9.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003277/1.439, allocations: 99.75 kB / 0.5164 GB, free: 9.664 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001661/1.439, allocations: 6.438 kB / 0.5164 GB, free: 9.664 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007925/1.44, allocations: 14.69 kB / 0.5164 GB, free: 9.664 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/1.44, allocations: 26.03 kB / 0.5164 GB, free: 9.664 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001554/1.441, allocations: 34.73 kB / 0.5165 GB, free: 9.66 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005485/1.441, allocations: 187.7 kB / 0.5166 GB, free: 9.582 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.082e-06/1.441, allocations: 0 / 0.5166 GB, free: 9.582 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001509/1.443, allocations: 127 kB / 0.5168 GB, free: 9.574 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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.0008897/1.444, allocations: 155 kB / 0.5169 GB, free: 9.473 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001824/1.446, allocations: 374.4 kB / 0.5173 GB, free: 9.359 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/1.446, allocations: 0.8438 kB / 0.5173 GB, free: 9.359 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008657/1.447, allocations: 238.4 kB / 0.5175 GB, free: 9.238 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00278/1.449, allocations: 157 kB / 0.5177 GB, free: 9.227 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003656/1.453, allocations: 0.8548 MB / 0.5185 GB, free: 8.734 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000775/1.454, allocations: 0.7759 MB / 0.5192 GB, free: 8.031 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008913/1.455, allocations: 75.69 kB / 0.5193 GB, free: 8.016 MB / 394.7 MB Notification: Performance of SimCode: time 4.819e-06/1.455, allocations: 0 / 0.5193 GB, free: 8.016 MB / 394.7 MB Notification: Performance of Templates: time 0.02994/1.485, allocations: 7.479 MB / 0.5266 GB, free: 6.348 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_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/Nitrogen/Nitrogen.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches