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.001556/0.001556, allocations: 182 kB / 13.66 MB, free: 1.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 2.002/2.002, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001084/0.001083, allocations: 90.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.056e-05/3.067e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09697/0.09702, allocations: 47.57 MB / 369.1 MB, free: 2.199 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.794/1.891, allocations: 0.5393 GB / 0.8997 GB, free: 117.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003641/1.891, allocations: 97.28 kB / 0.8998 GB, free: 117.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7473/2.639, allocations: 146.3 MB / 1.043 GB, free: 96.54 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.944e-06/2.639, allocations: 3.375 kB / 1.043 GB, free: 96.54 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.432e-05/2.639, allocations: 3.312 kB / 1.043 GB, free: 96.54 MB / 426.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.001174/2.64, allocations: 0.5985 MB / 1.043 GB, free: 96.19 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/2.64, allocations: 9.719 kB / 1.043 GB, free: 96.19 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003634/2.64, allocations: 39.58 kB / 1.043 GB, free: 96.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004285/2.641, allocations: 282.3 kB / 1.044 GB, free: 95.97 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/2.641, allocations: 23.88 kB / 1.044 GB, free: 95.97 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.4e-05/2.641, allocations: 27.78 kB / 1.044 GB, free: 95.97 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006428/2.641, allocations: 317 kB / 1.044 GB, free: 95.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/2.642, allocations: 5.375 kB / 1.044 GB, free: 95.88 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.402e-05/2.642, allocations: 10.88 kB / 1.044 GB, free: 95.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/2.642, allocations: 11.86 kB / 1.044 GB, free: 95.87 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004546/2.642, allocations: 195.4 kB / 1.044 GB, free: 95.87 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.002168/2.644, allocations: 1.573 MB / 1.046 GB, free: 94.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003771/2.645, allocations: 158.3 kB / 1.046 GB, free: 94.67 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/2.645, allocations: 96.41 kB / 1.046 GB, free: 94.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.996e-05/2.645, allocations: 4.156 kB / 1.046 GB, free: 94.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/2.645, allocations: 45.16 kB / 1.046 GB, free: 94.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 2.795e-06/2.645, allocations: 3.406 kB / 1.046 GB, free: 94.62 MB / 426.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.008038/2.653, allocations: 1.245 MB / 1.047 GB, free: 94.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/2.653, allocations: 62.77 kB / 1.047 GB, free: 94.13 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/2.653, allocations: 217.4 kB / 1.047 GB, free: 94.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.367e-05/2.653, allocations: 32.52 kB / 1.047 GB, free: 94 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/2.654, allocations: 237.3 kB / 1.048 GB, free: 93.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.612e-05/2.654, allocations: 98.14 kB / 1.048 GB, free: 93.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/2.654, allocations: 3.938 kB / 1.048 GB, free: 93.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.783e-05/2.654, allocations: 329.2 kB / 1.048 GB, free: 93.46 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002307/2.654, allocations: 84.06 kB / 1.048 GB, free: 93.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/2.654, allocations: 184.8 kB / 1.048 GB, free: 93.35 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000296/2.655, allocations: 117.6 kB / 1.048 GB, free: 93.35 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/2.655, allocations: 2.844 kB / 1.048 GB, free: 93.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009683/2.656, allocations: 388.2 kB / 1.049 GB, free: 93.28 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/2.656, allocations: 11.28 kB / 1.049 GB, free: 93.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/2.656, allocations: 2.656 kB / 1.049 GB, free: 93.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003349/2.656, allocations: 69.55 kB / 1.049 GB, free: 93.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005863/2.657, allocations: 81.34 kB / 1.049 GB, free: 93.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/2.658, allocations: 1.852 MB / 1.051 GB, free: 91.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004844/2.659, allocations: 25.61 kB / 1.051 GB, free: 91.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.435e-05/2.659, allocations: 39.22 kB / 1.051 GB, free: 91.5 MB / 426.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 () * 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.0001538/2.659, allocations: 123 kB / 1.051 GB, free: 91.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.088e-05/2.659, allocations: 27.12 kB / 1.051 GB, free: 91.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/2.66, allocations: 446.6 kB / 1.051 GB, free: 91.29 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/2.66, allocations: 3.875 kB / 1.051 GB, free: 91.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/2.66, allocations: 2.812 kB / 1.051 GB, free: 91.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006091/2.661, allocations: 0.5545 MB / 1.052 GB, free: 90.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/2.662, allocations: 0.7164 MB / 1.053 GB, free: 90.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/2.662, allocations: 6.875 kB / 1.053 GB, free: 90.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005557/2.663, allocations: 67.94 kB / 1.053 GB, free: 90.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001144/2.663, allocations: 23.05 kB / 1.053 GB, free: 90.51 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.843e-05/2.663, allocations: 17.16 kB / 1.053 GB, free: 90.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000904/2.664, allocations: 1.282 MB / 1.054 GB, free: 89.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/2.664, allocations: 3.125 kB / 1.054 GB, free: 89.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009562/2.665, allocations: 490.3 kB / 1.055 GB, free: 89.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/2.665, allocations: 102.4 kB / 1.055 GB, free: 88.94 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.819e-05/2.665, allocations: 10.34 kB / 1.055 GB, free: 88.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004497/2.666, allocations: 19.91 kB / 1.055 GB, free: 88.94 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.503e-05/2.666, allocations: 22.08 kB / 1.055 GB, free: 88.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.74e-05/2.666, allocations: 35.81 kB / 1.055 GB, free: 88.94 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002642/2.666, allocations: 185.2 kB / 1.055 GB, free: 88.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.535e-06/2.666, allocations: 0 / 1.055 GB, free: 88.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001034/2.667, allocations: 184 kB / 1.055 GB, free: 88.85 MB / 426.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 () * 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.001494/2.669, allocations: 0.7876 MB / 1.056 GB, free: 88.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009575/2.67, allocations: 375.1 kB / 1.056 GB, free: 88.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/2.67, allocations: 0 / 1.056 GB, free: 88.56 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003722/2.67, allocations: 236.7 kB / 1.056 GB, free: 88.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/2.672, allocations: 153 kB / 1.057 GB, free: 88.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/2.673, allocations: 0.5146 MB / 1.057 GB, free: 88.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/2.673, allocations: 0.7724 MB / 1.058 GB, free: 87.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000436/2.674, allocations: 75.7 kB / 1.058 GB, free: 87.55 MB / 426.7 MB Notification: Performance of SimCode: time 1.182e-06/2.674, allocations: 3.469 kB / 1.058 GB, free: 87.55 MB / 426.7 MB Notification: Performance of Templates: time 0.02196/2.696, allocations: 11.54 MB / 1.069 GB, free: 87.01 MB / 426.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