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.002163/0.00217, allocations: 188.1 kB / 16.4 MB, free: 5.625 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.344/2.344, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001156/0.001156, allocations: 82.89 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2861/0.2861, allocations: 43.57 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004567/0.0004569, allocations: 11.98 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1175, allocations: 58.86 MB / 490.2 MB, free: 9.352 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.531/0.6485, allocations: 126.2 MB / 0.6019 GB, free: 12.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01284/0.6614, allocations: 6.921 MB / 0.6087 GB, free: 5.738 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002235/0.6617, allocations: 4 kB / 0.6087 GB, free: 5.734 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003079/0.662, allocations: 43.72 kB / 0.6087 GB, free: 5.691 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004819/0.6668, allocations: 1.165 MB / 0.6099 GB, free: 4.527 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005656/0.6674, allocations: 135.7 kB / 0.61 GB, free: 4.395 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007114/0.6681, allocations: 263.4 kB / 0.6102 GB, free: 4.137 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.422e-05/0.6682, allocations: 9.688 kB / 0.6102 GB, free: 4.129 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004347/0.6687, allocations: 163.5 kB / 0.6104 GB, free: 3.969 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004294/0.6691, allocations: 159.5 kB / 0.6106 GB, free: 3.812 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.253e-05/0.6692, allocations: 8 kB / 0.6106 GB, free: 3.805 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003771/0.673, allocations: 1.096 MB / 0.6116 GB, free: 2.707 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001333/0.6732, allocations: 47.81 kB / 0.6117 GB, free: 2.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.6733, allocations: 61.64 kB / 0.6117 GB, free: 2.594 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001971/0.6753, allocations: 0.6371 MB / 0.6124 GB, free: 1.957 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.6753, allocations: 0 / 0.6124 GB, free: 1.957 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.6753, allocations: 0 / 0.6124 GB, free: 1.957 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.6753, allocations: 0 / 0.6124 GB, free: 1.957 MB / 410.7 MB 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.001776/0.6771, allocations: 0.6514 MB / 0.613 GB, free: 1.258 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.6772, allocations: 8.031 kB / 0.613 GB, free: 1.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01307/0.6903, allocations: 0.5931 MB / 0.6136 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006031/0.6909, allocations: 258.7 kB / 0.6138 GB, free: 372 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001744/0.6911, allocations: 131.3 kB / 0.614 GB, free: 216 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.6913, allocations: 20 kB / 0.614 GB, free: 196 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002003/0.6933, allocations: 0.5595 MB / 0.6145 GB, free: 15.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.6933, allocations: 0 / 0.6145 GB, free: 15.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/0.6935, allocations: 15.95 kB / 0.6145 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.183e-05/0.6935, allocations: 8 kB / 0.6145 GB, free: 15.58 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002606/0.6961, allocations: 0.626 MB / 0.6152 GB, free: 14.95 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.003095/0.6993, allocations: 1.63 MB / 0.6167 GB, free: 13.19 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000583/0.6999, allocations: 154.5 kB / 0.6169 GB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001059/0.701, allocations: 0.6658 MB / 0.6175 GB, free: 12.28 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.701, allocations: 34.56 kB / 0.6176 GB, free: 12.24 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 2.925e-06/0.7011, allocations: 3.938 kB / 0.6176 GB, free: 12.23 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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=18): time 0.001594/0.7027, allocations: 332.6 kB / 0.6179 GB, free: 11.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.7027, allocations: 55.41 kB / 0.618 GB, free: 11.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.703, allocations: 187.4 kB / 0.6181 GB, free: 11.65 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.378e-05/0.703, allocations: 33.64 kB / 0.6182 GB, free: 11.61 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.7032, allocations: 253.7 kB / 0.6184 GB, free: 11.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.302e-05/0.7033, allocations: 67.09 kB / 0.6185 GB, free: 11.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.7034, allocations: 12 kB / 0.6185 GB, free: 11.28 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.7035, allocations: 330.8 kB / 0.6188 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.7037, allocations: 60.72 kB / 0.6189 GB, free: 10.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003953/0.7041, allocations: 263.8 kB / 0.6191 GB, free: 10.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003299/0.7045, allocations: 116.6 kB / 0.6192 GB, free: 10.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.7045, allocations: 0 / 0.6192 GB, free: 10.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009894/0.7055, allocations: 360.7 kB / 0.6196 GB, free: 10.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.7056, allocations: 8 kB / 0.6196 GB, free: 10.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.7056, allocations: 8 kB / 0.6196 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.982e-05/0.7056, allocations: 12.73 kB / 0.6196 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007251/0.7064, allocations: 123.8 kB / 0.6197 GB, free: 9.922 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004561/0.7068, allocations: 0.6094 MB / 0.6203 GB, free: 9.289 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004032/0.7072, allocations: 43.53 kB / 0.6203 GB, free: 9.246 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.931e-05/0.7074, allocations: 47.98 kB / 0.6204 GB, free: 9.199 MB / 426.7 MB 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.0002044/0.7076, allocations: 141.7 kB / 0.6205 GB, free: 9.051 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.3e-05/0.7077, allocations: 19.91 kB / 0.6205 GB, free: 9.031 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.7089, allocations: 299.3 kB / 0.6208 GB, free: 8.723 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.7089, allocations: 3.953 kB / 0.6208 GB, free: 8.719 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.7089, allocations: 0 / 0.6208 GB, free: 8.719 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.709, allocations: 4 kB / 0.6208 GB, free: 8.715 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.71, allocations: 0.5209 MB / 0.6213 GB, free: 8.125 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.71, allocations: 128 / 0.6213 GB, free: 8.125 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000394/0.7104, allocations: 59.95 kB / 0.6214 GB, free: 8.066 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.7105, allocations: 0 / 0.6214 GB, free: 8.066 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/0.7105, allocations: 8 kB / 0.6214 GB, free: 8.059 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004598/0.711, allocations: 0.5938 MB / 0.622 GB, free: 7.441 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.711, allocations: 4.031 kB / 0.622 GB, free: 7.438 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005781/0.7116, allocations: 317.6 kB / 0.6223 GB, free: 7.074 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002047/0.7118, allocations: 121.4 kB / 0.6224 GB, free: 6.938 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.572e-05/0.7119, allocations: 4 kB / 0.6224 GB, free: 6.934 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000409/0.7123, allocations: 11.98 kB / 0.6224 GB, free: 6.922 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/0.7124, allocations: 16.86 kB / 0.6224 GB, free: 6.906 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.147e-05/0.7124, allocations: 15.98 kB / 0.6225 GB, free: 6.891 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001868/0.7126, allocations: 139 kB / 0.6226 GB, free: 6.754 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.7126, allocations: 0 / 0.6226 GB, free: 6.754 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001037/0.7137, allocations: 188 kB / 0.6228 GB, free: 6.57 MB / 426.7 MB 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 (15): * Single equations (assignments): 14 * 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.001141/0.7148, allocations: 326.6 kB / 0.6231 GB, free: 6.246 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008882/0.7158, allocations: 224.9 kB / 0.6233 GB, free: 6.027 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.7158, allocations: 0 / 0.6233 GB, free: 6.027 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003316/0.7161, allocations: 79.89 kB / 0.6234 GB, free: 5.949 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006247/0.7168, allocations: 56.91 kB / 0.6234 GB, free: 5.895 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.7181, allocations: 0.5739 MB / 0.624 GB, free: 5.277 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.7185, allocations: 0.7286 MB / 0.6247 GB, free: 4.523 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004154/0.719, allocations: 67.38 kB / 0.6248 GB, free: 4.457 MB / 426.7 MB Notification: Performance of SimCode: time 1.904e-06/0.719, allocations: 0 / 0.6248 GB, free: 4.457 MB / 426.7 MB Notification: Performance of Templates: time 0.0154/0.7344, allocations: 5.868 MB / 0.6305 GB, free: 14.58 MB / 442.7 MB 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