Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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.Air.DryAirNasa,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.Air.DryAirNasa") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,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.Air.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002523/0.002523, allocations: 189 kB / 16.4 MB, free: 5.621 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.35/3.35, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001949/0.001949, allocations: 94.86 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006194/0.0006198, allocations: 11.98 kB / 327 MB, free: 15.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1641, allocations: 47.58 MB / 374.6 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.7611/0.9253, allocations: 137.3 MB / 0.4998 GB, free: 4.152 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005986/0.9314, allocations: 1.944 MB / 0.5017 GB, free: 2.203 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004999/0.932, allocations: 7.938 kB / 0.5017 GB, free: 2.195 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009714/0.933, allocations: 143.4 kB / 0.5019 GB, free: 2.055 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001523/0.9345, allocations: 267.2 kB / 0.5021 GB, free: 1.793 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001866/0.9364, allocations: 278.2 kB / 0.5024 GB, free: 1.523 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001799/0.9383, allocations: 494.9 kB / 0.5029 GB, free: 1.039 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000378/0.9387, allocations: 70.06 kB / 0.5029 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002381/0.9411, allocations: 434.9 kB / 0.5033 GB, free: 0.543 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006819/0.9418, allocations: 175.3 kB / 0.5035 GB, free: 380 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.942, allocations: 12 kB / 0.5035 GB, free: 368 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007058/0.9427, allocations: 103.9 kB / 0.5036 GB, free: 264 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000257/0.943, allocations: 79.72 kB / 0.5037 GB, free: 184 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002255/0.9432, allocations: 89.58 kB / 0.5038 GB, free: 88 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.9444, allocations: 393.3 kB / 0.5042 GB, free: 15.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.9444, allocations: 0 / 0.5042 GB, free: 15.7 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.417e-06/0.9445, allocations: 0 / 0.5042 GB, free: 15.7 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.9445, allocations: 0 / 0.5042 GB, free: 15.7 MB / 394.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.001582/0.9461, allocations: 0.5191 MB / 0.5047 GB, free: 15.13 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.307e-05/0.9462, allocations: 8.031 kB / 0.5047 GB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007001/0.9469, allocations: 43.61 kB / 0.5047 GB, free: 15.08 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000821/0.9477, allocations: 274.5 kB / 0.505 GB, free: 14.78 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.476e-05/0.9478, allocations: 20.56 kB / 0.505 GB, free: 14.76 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.9479, allocations: 31.84 kB / 0.505 GB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.9492, allocations: 311.6 kB / 0.5053 GB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.782e-05/0.9493, allocations: 12 kB / 0.5053 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-05/0.9494, allocations: 12 kB / 0.5053 GB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.461e-05/0.9495, allocations: 10.2 kB / 0.5053 GB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008726/0.9503, allocations: 197.6 kB / 0.5055 GB, free: 14.17 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.004399/0.9548, allocations: 1.577 MB / 0.5071 GB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007367/0.9556, allocations: 166.8 kB / 0.5072 GB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.903e-05/0.9557, allocations: 11.92 kB / 0.5072 GB, free: 12.26 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.377e-05/0.9558, allocations: 38.56 kB / 0.5073 GB, free: 12.21 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 8.266e-06/0.9558, allocations: 4 kB / 0.5073 GB, free: 12.21 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.01493/0.9707, allocations: 1.634 MB / 0.5089 GB, free: 10.44 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.081e-05/0.9709, allocations: 51.41 kB / 0.5089 GB, free: 10.38 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006085/0.9716, allocations: 252.8 kB / 0.5092 GB, free: 10.12 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001138/0.9717, allocations: 37.7 kB / 0.5092 GB, free: 10.08 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000253/0.972, allocations: 230.7 kB / 0.5094 GB, free: 9.852 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000179/0.9722, allocations: 98.5 kB / 0.5095 GB, free: 9.754 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.673e-05/0.9722, allocations: 8 kB / 0.5095 GB, free: 9.746 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002414/0.9725, allocations: 322.8 kB / 0.5098 GB, free: 9.422 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000423/0.9729, allocations: 91.73 kB / 0.5099 GB, free: 9.332 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005637/0.9735, allocations: 195.7 kB / 0.5101 GB, free: 9.098 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005205/0.9741, allocations: 112 kB / 0.5102 GB, free: 8.988 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.9741, allocations: 0 / 0.5102 GB, free: 8.988 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001621/0.9757, allocations: 379.5 kB / 0.5106 GB, free: 8.605 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.095e-05/0.9758, allocations: 8 kB / 0.5106 GB, free: 8.598 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/0.9758, allocations: 4 kB / 0.5106 GB, free: 8.594 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004903/0.9763, allocations: 73.64 kB / 0.5107 GB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008842/0.9773, allocations: 83.83 kB / 0.5107 GB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003463/0.9808, allocations: 1.864 MB / 0.5126 GB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007484/0.9816, allocations: 19.98 kB / 0.5126 GB, free: 6.395 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000152/0.9818, allocations: 39.98 kB / 0.5126 GB, free: 6.355 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.0004669/0.9823, allocations: 161.7 kB / 0.5128 GB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/0.9825, allocations: 28.22 kB / 0.5128 GB, free: 6.16 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002536/0.985, allocations: 444.6 kB / 0.5132 GB, free: 5.711 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.9851, allocations: 7.938 kB / 0.5132 GB, free: 5.703 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.9851, allocations: 0 / 0.5132 GB, free: 5.703 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001353/0.9865, allocations: 0.563 MB / 0.5138 GB, free: 5.051 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002784/0.9893, allocations: 0.7207 MB / 0.5145 GB, free: 4.266 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.566e-05/0.9894, allocations: 11.89 kB / 0.5145 GB, free: 4.254 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008574/0.9903, allocations: 67.95 kB / 0.5146 GB, free: 4.188 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002055/0.9905, allocations: 24.78 kB / 0.5146 GB, free: 4.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.33e-05/0.9906, allocations: 20 kB / 0.5146 GB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002177/0.9928, allocations: 1.288 MB / 0.5159 GB, free: 2.715 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.9929, allocations: 0 / 0.5159 GB, free: 2.715 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/0.9949, allocations: 0.4938 MB / 0.5163 GB, free: 2.184 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002483/0.9952, allocations: 101 kB / 0.5164 GB, free: 2.066 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.9953, allocations: 12 kB / 0.5165 GB, free: 2.055 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006809/0.996, allocations: 15.94 kB / 0.5165 GB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/0.9962, allocations: 27.92 kB / 0.5165 GB, free: 2.012 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/0.9963, allocations: 27.98 kB / 0.5165 GB, free: 1.984 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005012/0.9968, allocations: 190 kB / 0.5167 GB, free: 1.801 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.9969, allocations: 0 / 0.5167 GB, free: 1.801 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001395/0.9983, allocations: 128 kB / 0.5168 GB, free: 1.676 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.0008473/0.9992, allocations: 147.1 kB / 0.517 GB, free: 1.523 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001619/1.001, allocations: 370.7 kB / 0.5173 GB, free: 1.148 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.284e-05/1.001, allocations: 0 / 0.5173 GB, free: 1.148 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007215/1.002, allocations: 231.3 kB / 0.5175 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002365/1.004, allocations: 153.2 kB / 0.5177 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003119/1.007, allocations: 0.8654 MB / 0.5185 GB, free: 15.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000682/1.008, allocations: 0.7762 MB / 0.5193 GB, free: 15.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007604/1.009, allocations: 79.41 kB / 0.5194 GB, free: 14.98 MB / 410.7 MB Notification: Performance of SimCode: time 1.373e-06/1.009, allocations: 0 / 0.5194 GB, free: 14.98 MB / 410.7 MB Notification: Performance of Templates: time 0.02861/1.037, allocations: 7.472 MB / 0.5267 GB, free: 7.508 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches