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.001468/0.001468, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.92/1.92, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001132/0.001131, allocations: 95.38 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003902, allocations: 8 kB / 327 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3279, allocations: 47.57 MB / 374.5 MB, free: 45.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.583/1.911, allocations: 0.5888 GB / 0.9545 GB, free: 8.844 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003571/1.912, allocations: 110.9 kB / 0.9546 GB, free: 8.773 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7464/2.658, allocations: 152.4 MB / 1.103 GB, free: 31.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.884e-06/2.658, allocations: 0 / 1.103 GB, free: 31.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.339e-05/2.658, allocations: 8 kB / 1.103 GB, free: 31.76 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.001235/2.66, allocations: 0.6284 MB / 1.104 GB, free: 31.08 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/2.66, allocations: 8.031 kB / 1.104 GB, free: 31.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003715/2.66, allocations: 47.55 kB / 1.104 GB, free: 31.03 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004331/2.66, allocations: 278.8 kB / 1.104 GB, free: 30.71 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/2.66, allocations: 20.56 kB / 1.104 GB, free: 30.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.493e-05/2.661, allocations: 24 kB / 1.104 GB, free: 30.67 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006785/2.661, allocations: 315.7 kB / 1.105 GB, free: 30.33 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/2.661, allocations: 4 kB / 1.105 GB, free: 30.33 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.795e-05/2.661, allocations: 15.95 kB / 1.105 GB, free: 30.31 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/2.661, allocations: 4 kB / 1.105 GB, free: 30.31 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004685/2.662, allocations: 201.5 kB / 1.105 GB, free: 30.11 MB / 426.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.002199/2.664, allocations: 1.581 MB / 1.106 GB, free: 28.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000372/2.664, allocations: 163.1 kB / 1.107 GB, free: 28.21 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.409e-05/2.664, allocations: 4.188 kB / 1.107 GB, free: 28.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/2.665, allocations: 38.69 kB / 1.107 GB, free: 28.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 3.125e-06/2.665, allocations: 4 kB / 1.107 GB, free: 28.15 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.008908/2.673, allocations: 1.62 MB / 1.108 GB, free: 26.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/2.674, allocations: 59.39 kB / 1.108 GB, free: 26.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/2.674, allocations: 232 kB / 1.109 GB, free: 26.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.278e-05/2.674, allocations: 37.64 kB / 1.109 GB, free: 26.06 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.419e-05/2.674, allocations: 230.6 kB / 1.109 GB, free: 25.83 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.627e-05/2.674, allocations: 94.64 kB / 1.109 GB, free: 25.74 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/2.674, allocations: 8 kB / 1.109 GB, free: 25.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.751e-05/2.674, allocations: 326.8 kB / 1.109 GB, free: 25.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/2.674, allocations: 79.97 kB / 1.109 GB, free: 25.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/2.675, allocations: 191.8 kB / 1.109 GB, free: 25.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/2.675, allocations: 119.9 kB / 1.11 GB, free: 24.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/2.675, allocations: 0 / 1.11 GB, free: 24.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00087/2.676, allocations: 383.4 kB / 1.11 GB, free: 24.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/2.676, allocations: 8 kB / 1.11 GB, free: 24.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/2.676, allocations: 7.953 kB / 1.11 GB, free: 24.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000296/2.676, allocations: 69.67 kB / 1.11 GB, free: 24.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005901/2.677, allocations: 91.83 kB / 1.11 GB, free: 24.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001348/2.678, allocations: 1.856 MB / 1.112 GB, free: 22.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004198/2.679, allocations: 16 kB / 1.112 GB, free: 22.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.295e-05/2.679, allocations: 39.98 kB / 1.112 GB, free: 22.34 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 () * 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.0002349/2.679, allocations: 161.7 kB / 1.112 GB, free: 22.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.654e-05/2.679, allocations: 27.72 kB / 1.112 GB, free: 22.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/2.68, allocations: 444.8 kB / 1.113 GB, free: 21.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/2.68, allocations: 4 kB / 1.113 GB, free: 21.69 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/2.681, allocations: 0 / 1.113 GB, free: 21.69 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006572/2.681, allocations: 0.5669 MB / 1.113 GB, free: 21.04 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/2.682, allocations: 0.7173 MB / 1.114 GB, free: 20.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/2.682, allocations: 0 / 1.114 GB, free: 20.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005346/2.683, allocations: 71.95 kB / 1.114 GB, free: 20.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001088/2.683, allocations: 20.78 kB / 1.114 GB, free: 20.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.662e-05/2.683, allocations: 19.98 kB / 1.114 GB, free: 20.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008234/2.684, allocations: 1.284 MB / 1.115 GB, free: 18.72 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/2.684, allocations: 256 / 1.115 GB, free: 18.72 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009224/2.685, allocations: 0.4977 MB / 1.116 GB, free: 18.19 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/2.685, allocations: 100.8 kB / 1.116 GB, free: 18.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.579e-05/2.685, allocations: 8 kB / 1.116 GB, free: 18.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000424/2.686, allocations: 23.95 kB / 1.116 GB, free: 18.04 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.538e-05/2.686, allocations: 31.86 kB / 1.116 GB, free: 18.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.849e-05/2.686, allocations: 27.98 kB / 1.116 GB, free: 17.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000238/2.686, allocations: 190 kB / 1.116 GB, free: 17.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.9e-07/2.686, allocations: 0 / 1.116 GB, free: 17.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009773/2.687, allocations: 187.9 kB / 1.116 GB, free: 17.61 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 () * 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.001404/2.688, allocations: 0.7794 MB / 1.117 GB, free: 16.83 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000929/2.689, allocations: 370.7 kB / 1.117 GB, free: 16.45 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/2.689, allocations: 0 / 1.117 GB, free: 16.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003627/2.69, allocations: 234.5 kB / 1.118 GB, free: 16.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/2.691, allocations: 157.8 kB / 1.118 GB, free: 16.06 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/2.693, allocations: 0.8626 MB / 1.119 GB, free: 15.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/2.693, allocations: 0.7648 MB / 1.119 GB, free: 14.37 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004195/2.693, allocations: 79.41 kB / 1.119 GB, free: 14.29 MB / 426.7 MB Notification: Performance of SimCode: time 9.61e-07/2.693, allocations: 0 / 1.119 GB, free: 14.29 MB / 426.7 MB Notification: Performance of Templates: time 0.01952/2.713, allocations: 11.56 MB / 1.131 GB, free: 2.723 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