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.002342/0.002342, allocations: 172.2 kB / 14.1 MB, free: 1.223 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.042/2.042, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.001282/0.001282, allocations: 82.7 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.107e-05/4.11e-05, allocations: 4 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1212, allocations: 47.57 MB / 370 MB, free: 1.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.522/1.643, allocations: 0.5393 GB / 0.9006 GB, free: 133.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/1.644, allocations: 105.5 kB / 0.9007 GB, free: 133.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5555/2.199, allocations: 146.3 MB / 1.044 GB, free: 90.53 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.665e-06/2.199, allocations: 0 / 1.044 GB, free: 90.53 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.742e-05/2.199, allocations: 9.5 kB / 1.044 GB, free: 90.53 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.001474/2.201, allocations: 0.5929 MB / 1.044 GB, free: 90.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.687e-05/2.201, allocations: 12.78 kB / 1.044 GB, free: 90.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004791/2.201, allocations: 38.38 kB / 1.044 GB, free: 90.17 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005583/2.202, allocations: 280 kB / 1.044 GB, free: 89.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/2.202, allocations: 20.84 kB / 1.045 GB, free: 89.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.39e-05/2.202, allocations: 27.53 kB / 1.045 GB, free: 89.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006738/2.203, allocations: 314.6 kB / 1.045 GB, free: 89.87 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/2.203, allocations: 1.125 kB / 1.045 GB, free: 89.87 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.522e-05/2.203, allocations: 14.78 kB / 1.045 GB, free: 89.87 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/2.203, allocations: 6.844 kB / 1.045 GB, free: 89.87 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004229/2.203, allocations: 191.4 kB / 1.045 GB, free: 89.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.002147/2.206, allocations: 1.586 MB / 1.047 GB, free: 88.69 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003312/2.206, allocations: 155.4 kB / 1.047 GB, free: 88.66 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/2.206, allocations: 95.55 kB / 1.047 GB, free: 88.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.791e-05/2.206, allocations: 4.156 kB / 1.047 GB, free: 88.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/2.206, allocations: 42.22 kB / 1.047 GB, free: 88.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 2.475e-06/2.206, allocations: 0 / 1.047 GB, free: 88.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.00544/2.212, allocations: 1.243 MB / 1.048 GB, free: 88.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/2.212, allocations: 66.45 kB / 1.048 GB, free: 88.13 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003539/2.212, allocations: 219.3 kB / 1.048 GB, free: 88.03 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.522e-05/2.212, allocations: 30.48 kB / 1.048 GB, free: 88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/2.212, allocations: 178.9 kB / 1.049 GB, free: 87.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.662e-05/2.212, allocations: 96.84 kB / 1.049 GB, free: 87.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.308e-05/2.212, allocations: 4.406 kB / 1.049 GB, free: 87.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/2.212, allocations: 341 kB / 1.049 GB, free: 87.53 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/2.213, allocations: 84.17 kB / 1.049 GB, free: 87.53 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002673/2.213, allocations: 187.6 kB / 1.049 GB, free: 87.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002507/2.213, allocations: 114.1 kB / 1.049 GB, free: 87.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/2.213, allocations: 0.9375 kB / 1.049 GB, free: 87.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007672/2.214, allocations: 396.9 kB / 1.05 GB, free: 87.35 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/2.214, allocations: 3.938 kB / 1.05 GB, free: 87.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.016e-06/2.214, allocations: 10.64 kB / 1.05 GB, free: 87.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002437/2.214, allocations: 76.56 kB / 1.05 GB, free: 87.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/2.215, allocations: 83.59 kB / 1.05 GB, free: 87.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/2.216, allocations: 1.853 MB / 1.052 GB, free: 85.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003849/2.216, allocations: 25.67 kB / 1.052 GB, free: 85.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.123e-05/2.216, allocations: 34.44 kB / 1.052 GB, free: 85.56 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.0001422/2.217, allocations: 131.2 kB / 1.052 GB, free: 85.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.912e-05/2.217, allocations: 26.06 kB / 1.052 GB, free: 85.44 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/2.218, allocations: 443.7 kB / 1.052 GB, free: 85.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/2.218, allocations: 3.375 kB / 1.052 GB, free: 85.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/2.218, allocations: 1.094 kB / 1.052 GB, free: 85.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004844/2.218, allocations: 0.5547 MB / 1.053 GB, free: 84.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/2.219, allocations: 0.7197 MB / 1.054 GB, free: 84.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.269e-06/2.219, allocations: 1.281 kB / 1.054 GB, free: 84.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003149/2.22, allocations: 72.34 kB / 1.054 GB, free: 84.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.729e-05/2.22, allocations: 26.08 kB / 1.054 GB, free: 84.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.193e-05/2.22, allocations: 13.88 kB / 1.054 GB, free: 84.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007087/2.22, allocations: 1.279 MB / 1.055 GB, free: 83.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/2.221, allocations: 3.156 kB / 1.055 GB, free: 83.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000743/2.221, allocations: 495.5 kB / 1.055 GB, free: 83.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/2.221, allocations: 100.3 kB / 1.056 GB, free: 83.01 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.785e-05/2.221, allocations: 11.09 kB / 1.056 GB, free: 83.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002931/2.222, allocations: 24.64 kB / 1.056 GB, free: 83 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.628e-05/2.222, allocations: 25.11 kB / 1.056 GB, free: 83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.736e-05/2.222, allocations: 30.45 kB / 1.056 GB, free: 83 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002122/2.222, allocations: 188 kB / 1.056 GB, free: 82.92 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.5e-07/2.222, allocations: 0 / 1.056 GB, free: 82.92 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009365/2.223, allocations: 191.8 kB / 1.056 GB, free: 82.92 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.001714/2.225, allocations: 0.7723 MB / 1.057 GB, free: 82.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008541/2.226, allocations: 375.3 kB / 1.057 GB, free: 82.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/2.226, allocations: 3.875 kB / 1.057 GB, free: 82.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002914/2.226, allocations: 231.9 kB / 1.057 GB, free: 82.53 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/2.227, allocations: 154 kB / 1.057 GB, free: 82.53 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/2.228, allocations: 0.494 MB / 1.058 GB, free: 82.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/2.229, allocations: 0.7714 MB / 1.059 GB, free: 81.66 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006852/2.229, allocations: 112.9 kB / 1.059 GB, free: 81.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002483/2.23, allocations: 67.27 kB / 1.059 GB, free: 81.65 MB / 426.7 MB Notification: Performance of SimCode: time 2.124e-06/2.23, allocations: 0 / 1.059 GB, free: 81.65 MB / 426.7 MB Notification: Performance of Templates: time 0.02934/2.259, allocations: 19.93 MB / 1.078 GB, free: 80.94 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