Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001287/0.001287, allocations: 181.4 kB / 17.01 MB, free: 5.125 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.856/1.856, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0008283/0.0008284, allocations: 92.22 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002716/0.0002716, allocations: 11.98 kB / 328.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2917, allocations: 47.57 MB / 375.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.381/1.673, allocations: 0.5888 GB / 0.9558 GB, free: 8.93 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/1.673, allocations: 102.6 kB / 0.9559 GB, free: 8.871 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5565/2.229, allocations: 152.4 MB / 1.105 GB, free: 31.79 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.105e-06/2.229, allocations: 0 / 1.105 GB, free: 31.79 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.056e-05/2.23, allocations: 15.94 kB / 1.105 GB, free: 31.78 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.001471/2.231, allocations: 0.6205 MB / 1.105 GB, free: 31.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/2.231, allocations: 8.031 kB / 1.105 GB, free: 31.1 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003975/2.231, allocations: 51.61 kB / 1.105 GB, free: 31.05 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004785/2.232, allocations: 282.5 kB / 1.106 GB, free: 30.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/2.232, allocations: 16.56 kB / 1.106 GB, free: 30.72 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.305e-05/2.232, allocations: 24 kB / 1.106 GB, free: 30.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005529/2.233, allocations: 315.7 kB / 1.106 GB, free: 30.36 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/2.233, allocations: 3.984 kB / 1.106 GB, free: 30.35 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.776e-05/2.233, allocations: 12 kB / 1.106 GB, free: 30.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/2.233, allocations: 15.89 kB / 1.106 GB, free: 30.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003535/2.233, allocations: 205.5 kB / 1.106 GB, free: 30.12 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.001854/2.235, allocations: 1.573 MB / 1.108 GB, free: 28.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003028/2.235, allocations: 167 kB / 1.108 GB, free: 28.22 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.485e-05/2.235, allocations: 4.188 kB / 1.108 GB, free: 28.22 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/2.235, allocations: 38.75 kB / 1.108 GB, free: 28.17 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 2.856e-06/2.235, allocations: 0 / 1.108 GB, free: 28.17 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.00542/2.241, allocations: 1.62 MB / 1.11 GB, free: 26.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/2.241, allocations: 59.39 kB / 1.11 GB, free: 26.36 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/2.241, allocations: 228.1 kB / 1.11 GB, free: 26.13 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.813e-05/2.241, allocations: 33.7 kB / 1.11 GB, free: 26.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.812e-05/2.241, allocations: 176.2 kB / 1.11 GB, free: 25.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.312e-05/2.241, allocations: 102.6 kB / 1.11 GB, free: 25.81 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.714e-05/2.241, allocations: 4 kB / 1.11 GB, free: 25.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.02e-05/2.241, allocations: 338.8 kB / 1.11 GB, free: 25.46 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/2.242, allocations: 79.97 kB / 1.11 GB, free: 25.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/2.242, allocations: 195.7 kB / 1.111 GB, free: 25.15 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/2.242, allocations: 119.9 kB / 1.111 GB, free: 25.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/2.242, allocations: 3.938 kB / 1.111 GB, free: 25.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005574/2.243, allocations: 391.5 kB / 1.111 GB, free: 24.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/2.243, allocations: 13.03 kB / 1.111 GB, free: 24.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/2.243, allocations: 0 / 1.111 GB, free: 24.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002134/2.243, allocations: 77.62 kB / 1.111 GB, free: 24.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000319/2.243, allocations: 83.89 kB / 1.111 GB, free: 24.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00111/2.244, allocations: 1.86 MB / 1.113 GB, free: 22.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000269/2.245, allocations: 16.34 kB / 1.113 GB, free: 22.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.311e-05/2.245, allocations: 43.98 kB / 1.113 GB, free: 22.38 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.0001811/2.245, allocations: 161.7 kB / 1.113 GB, free: 22.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.042e-05/2.245, allocations: 27.72 kB / 1.113 GB, free: 22.19 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009381/2.246, allocations: 440.7 kB / 1.114 GB, free: 21.74 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/2.246, allocations: 7.984 kB / 1.114 GB, free: 21.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/2.246, allocations: 0 / 1.114 GB, free: 21.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004183/2.246, allocations: 0.5592 MB / 1.114 GB, free: 21.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009282/2.247, allocations: 0.7173 MB / 1.115 GB, free: 20.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/2.247, allocations: 0 / 1.115 GB, free: 20.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003002/2.248, allocations: 79.84 kB / 1.115 GB, free: 20.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.586e-05/2.248, allocations: 16.84 kB / 1.115 GB, free: 20.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/2.248, allocations: 15.98 kB / 1.115 GB, free: 20.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006378/2.248, allocations: 1.284 MB / 1.116 GB, free: 18.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/2.248, allocations: 4.031 kB / 1.116 GB, free: 18.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005685/2.249, allocations: 0.494 MB / 1.117 GB, free: 18.24 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.262e-05/2.249, allocations: 104.8 kB / 1.117 GB, free: 18.12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.669e-05/2.249, allocations: 8 kB / 1.117 GB, free: 18.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/2.249, allocations: 23.98 kB / 1.117 GB, free: 18.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/2.249, allocations: 27.92 kB / 1.117 GB, free: 18.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.063e-05/2.249, allocations: 27.98 kB / 1.117 GB, free: 18.03 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002075/2.25, allocations: 190 kB / 1.117 GB, free: 17.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/2.25, allocations: 0 / 1.117 GB, free: 17.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008052/2.25, allocations: 176 kB / 1.117 GB, free: 17.67 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.001353/2.252, allocations: 0.7874 MB / 1.118 GB, free: 16.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006722/2.253, allocations: 371.1 kB / 1.119 GB, free: 16.51 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/2.253, allocations: 0 / 1.119 GB, free: 16.51 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000263/2.253, allocations: 238.4 kB / 1.119 GB, free: 16.26 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008198/2.254, allocations: 165.7 kB / 1.119 GB, free: 16.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/2.255, allocations: 0.8147 MB / 1.12 GB, free: 15.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/2.255, allocations: 0.7726 MB / 1.12 GB, free: 14.45 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005885/2.256, allocations: 122.9 kB / 1.121 GB, free: 14.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002057/2.256, allocations: 63.41 kB / 1.121 GB, free: 14.27 MB / 426.7 MB Notification: Performance of SimCode: time 1.293e-06/2.256, allocations: 0 / 1.121 GB, free: 14.27 MB / 426.7 MB Notification: Performance of Templates: time 0.2889/2.545, allocations: 17.57 MB / 1.138 GB, free: 95.21 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/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_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches