Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestAllProperties.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa") translateModel(ModelicaTest.Media.TestAllProperties.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009025/0.0009023, allocations: 181.5 kB / 17.41 MB, free: 4.402 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.264/1.264, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.0007776/0.0007776, allocations: 85.36 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3689/0.3689, allocations: 43.56 MB / 363.8 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003822, allocations: 15.98 kB / 432.6 MB, free: 5.652 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1069, allocations: 58.84 MB / 491.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.219/1.326, allocations: 0.5964 GB / 1.076 GB, free: 160.7 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/1.326, allocations: 79.27 kB / 1.076 GB, free: 160.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1309/1.457, allocations: 61.11 MB / 1.136 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.614e-06/1.457, allocations: 0 / 1.136 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.303e-05/1.457, allocations: 8 kB / 1.136 GB, free: 116.3 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001499/1.459, allocations: 0.7139 MB / 1.137 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/1.459, allocations: 12.03 kB / 1.137 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006286/1.465, allocations: 0.5841 MB / 1.137 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003635/1.465, allocations: 271.9 kB / 1.138 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/1.465, allocations: 127.9 kB / 1.138 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-05/1.465, allocations: 24.38 kB / 1.138 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009997/1.466, allocations: 0.5522 MB / 1.138 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/1.466, allocations: 3.938 kB / 1.138 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-05/1.467, allocations: 12 kB / 1.138 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.945e-05/1.467, allocations: 8 kB / 1.138 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/1.468, allocations: 0.6104 MB / 1.139 GB, free: 113.2 MB / 0.4948 GB 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.001612/1.469, allocations: 1.63 MB / 1.14 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/1.47, allocations: 150.5 kB / 1.141 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/1.47, allocations: 84.84 kB / 1.141 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001091/1.471, allocations: 1.315 MB / 1.142 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.603e-05/1.471, allocations: 38.5 kB / 1.142 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 2.174e-06/1.471, allocations: 0 / 1.142 GB, free: 109.7 MB / 0.4948 GB 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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=18): time 0.0008985/1.472, allocations: 329.8 kB / 1.142 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/1.472, allocations: 51.41 kB / 1.142 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/1.472, allocations: 187.3 kB / 1.143 GB, free: 109.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/1.472, allocations: 29.7 kB / 1.143 GB, free: 109 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.935e-05/1.472, allocations: 195.1 kB / 1.143 GB, free: 108.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/1.472, allocations: 67.09 kB / 1.143 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.907e-05/1.472, allocations: 7.938 kB / 1.143 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 4.888e-05/1.472, allocations: 334.8 kB / 1.143 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/1.472, allocations: 64.7 kB / 1.143 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/1.473, allocations: 267.8 kB / 1.143 GB, free: 108 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003328/1.473, allocations: 361.4 kB / 1.144 GB, free: 107.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/1.473, allocations: 8 kB / 1.144 GB, free: 107.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004891/1.473, allocations: 365.2 kB / 1.144 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/1.473, allocations: 11.94 kB / 1.144 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/1.473, allocations: 4 kB / 1.144 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/1.473, allocations: 15.94 kB / 1.144 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003554/1.474, allocations: 123.8 kB / 1.144 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002228/1.474, allocations: 0.6136 MB / 1.145 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002466/1.474, allocations: 43.53 kB / 1.145 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.562e-05/1.474, allocations: 40 kB / 1.145 GB, free: 106.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001052/1.474, allocations: 145.7 kB / 1.145 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.737e-05/1.475, allocations: 15.81 kB / 1.145 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006536/1.475, allocations: 297 kB / 1.145 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/1.475, allocations: 7.938 kB / 1.145 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/1.475, allocations: 0 / 1.145 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/1.475, allocations: 7.984 kB / 1.145 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005375/1.476, allocations: 0.5326 MB / 1.146 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/1.476, allocations: 4 kB / 1.146 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/1.476, allocations: 55.97 kB / 1.146 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/1.476, allocations: 4 kB / 1.146 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/1.476, allocations: 11.92 kB / 1.146 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001706/1.476, allocations: 0.594 MB / 1.147 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.476, allocations: 0 / 1.147 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/1.476, allocations: 278.8 kB / 1.147 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.137e-05/1.477, allocations: 120.8 kB / 1.147 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.868e-05/1.477, allocations: 8 kB / 1.147 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/1.477, allocations: 8 kB / 1.147 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/1.477, allocations: 23.91 kB / 1.147 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.877e-05/1.477, allocations: 16 kB / 1.147 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.113e-05/1.477, allocations: 139 kB / 1.147 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/1.477, allocations: 0 / 1.147 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009948/1.478, allocations: 251.6 kB / 1.147 GB, free: 103.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001304/1.479, allocations: 0.7359 MB / 1.148 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004278/1.48, allocations: 217 kB / 1.148 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/1.48, allocations: 4.5 kB / 1.148 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001765/1.48, allocations: 91.83 kB / 1.148 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/1.48, allocations: 53.22 kB / 1.149 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04043/1.521, allocations: 23.48 MB / 1.171 GB, free: 78.93 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/1.521, allocations: 0.717 MB / 1.172 GB, free: 78.19 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002487/1.521, allocations: 75.33 kB / 1.172 GB, free: 78.11 MB / 0.4948 GB Notification: Performance of SimCode: time 6.21e-07/1.521, allocations: 0 / 1.172 GB, free: 78.11 MB / 0.4948 GB Notification: Performance of Templates: time 0.009547/1.531, allocations: 8.116 MB / 1.18 GB, free: 69.99 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches