Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009503/0.0009503, allocations: 102 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001114/0.001115, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.54/1.54, allocations: 227.7 MB / 246.4 MB, free: 9.824 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2762/0.2762, allocations: 46.18 MB / 344.8 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002673/0.0002673, allocations: 8 kB / 418.8 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.128, allocations: 63.56 MB / 482.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4474/0.5755, allocations: 139 MB / 0.6069 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005731/0.5813, allocations: 4.769 MB / 0.6115 GB, free: 5.398 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.5814, allocations: 0 / 0.6115 GB, free: 5.398 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003443/0.5818, allocations: 39.73 kB / 0.6116 GB, free: 5.359 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003093/0.5849, allocations: 0.948 MB / 0.6125 GB, free: 4.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003558/0.5853, allocations: 135.1 kB / 0.6126 GB, free: 4.281 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006239/0.5859, allocations: 410.1 kB / 0.613 GB, free: 3.879 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.89e-05/0.586, allocations: 13.69 kB / 0.613 GB, free: 3.867 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003068/0.5863, allocations: 163.3 kB / 0.6132 GB, free: 3.707 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003435/0.5866, allocations: 187.5 kB / 0.6134 GB, free: 3.523 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.006e-05/0.5867, allocations: 4 kB / 0.6134 GB, free: 3.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001934/0.5886, allocations: 0.8734 MB / 0.6142 GB, free: 2.648 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.732e-05/0.5887, allocations: 43.81 kB / 0.6143 GB, free: 2.605 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.708e-05/0.5888, allocations: 65.58 kB / 0.6143 GB, free: 2.535 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000915/0.5897, allocations: 0.5789 MB / 0.6149 GB, free: 1.957 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.637e-06/0.5897, allocations: 0 / 0.6149 GB, free: 1.957 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.5897, allocations: 4 kB / 0.6149 GB, free: 1.953 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.5898, allocations: 0 / 0.6149 GB, free: 1.953 MB / 446.1 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.001339/0.5911, allocations: 0.6163 MB / 0.6155 GB, free: 1.285 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.273e-05/0.5912, allocations: 12.03 kB / 0.6155 GB, free: 1.273 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006552/0.5977, allocations: 0.6049 MB / 0.6161 GB, free: 0.668 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005032/0.5983, allocations: 258.7 kB / 0.6163 GB, free: 384 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/0.5984, allocations: 119.4 kB / 0.6164 GB, free: 240 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.064e-05/0.5985, allocations: 24 kB / 0.6165 GB, free: 216 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.5997, allocations: 0.5634 MB / 0.617 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.5998, allocations: 3.938 kB / 0.617 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.799e-05/0.5999, allocations: 12 kB / 0.617 GB, free: 15.6 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.671e-05/0.5999, allocations: 8 kB / 0.617 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/0.6013, allocations: 0.626 MB / 0.6177 GB, free: 14.96 MB / 462.1 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.00243/0.6037, allocations: 1.714 MB / 0.6193 GB, free: 13.1 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003561/0.6041, allocations: 150.5 kB / 0.6195 GB, free: 12.94 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.6043, allocations: 77.44 kB / 0.6195 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007045/0.605, allocations: 0.7006 MB / 0.6202 GB, free: 12.06 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.605, allocations: 42.55 kB / 0.6203 GB, free: 12.01 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 2.074e-06/0.605, allocations: 0 / 0.6203 GB, free: 12.01 MB / 462.1 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=17): time 0.001003/0.606, allocations: 315.5 kB / 0.6206 GB, free: 11.7 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.6061, allocations: 51.41 kB / 0.6206 GB, free: 11.64 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.6063, allocations: 195.8 kB / 0.6208 GB, free: 11.44 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.6063, allocations: 29.7 kB / 0.6208 GB, free: 11.4 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.6065, allocations: 191.1 kB / 0.621 GB, free: 11.21 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.392e-05/0.6065, allocations: 63.09 kB / 0.6211 GB, free: 11.14 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.994e-05/0.6066, allocations: 15.94 kB / 0.6211 GB, free: 11.13 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.6067, allocations: 331 kB / 0.6214 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.6068, allocations: 64.7 kB / 0.6215 GB, free: 10.73 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002595/0.6071, allocations: 264 kB / 0.6217 GB, free: 10.38 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.6073, allocations: 104.8 kB / 0.6218 GB, free: 10.28 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.6073, allocations: 0 / 0.6218 GB, free: 10.28 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000579/0.6079, allocations: 371.6 kB / 0.6222 GB, free: 9.914 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.6079, allocations: 11.94 kB / 0.6222 GB, free: 9.902 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.608, allocations: 11.98 kB / 0.6222 GB, free: 9.891 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.608, allocations: 8 kB / 0.6222 GB, free: 9.883 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004167/0.6084, allocations: 124.5 kB / 0.6223 GB, free: 9.762 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004128/0.6088, allocations: 0.6129 MB / 0.6229 GB, free: 9.129 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.6091, allocations: 47.53 kB / 0.623 GB, free: 9.082 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.563e-05/0.6091, allocations: 40 kB / 0.623 GB, free: 9.043 MB / 462.1 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.0001443/0.6093, allocations: 146.2 kB / 0.6231 GB, free: 8.891 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.841e-05/0.6093, allocations: 15.81 kB / 0.6232 GB, free: 8.875 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008694/0.6102, allocations: 437 kB / 0.6236 GB, free: 8.441 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.6102, allocations: 0 / 0.6236 GB, free: 8.441 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.6102, allocations: 0 / 0.6236 GB, free: 8.441 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.6102, allocations: 3.953 kB / 0.6236 GB, free: 8.438 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008192/0.6111, allocations: 0.6227 MB / 0.6242 GB, free: 7.719 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.6111, allocations: 7.953 kB / 0.6242 GB, free: 7.711 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.6113, allocations: 59.91 kB / 0.6243 GB, free: 7.652 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.6113, allocations: 3.984 kB / 0.6243 GB, free: 7.648 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.6113, allocations: 11.98 kB / 0.6243 GB, free: 7.637 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003253/0.6117, allocations: 0.594 MB / 0.6249 GB, free: 7.02 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.6117, allocations: 0 / 0.6249 GB, free: 7.02 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003389/0.612, allocations: 301.2 kB / 0.6251 GB, free: 6.688 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.6122, allocations: 112.9 kB / 0.6252 GB, free: 6.559 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.612e-05/0.6122, allocations: 4 kB / 0.6253 GB, free: 6.555 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/0.6124, allocations: 14.61 kB / 0.6253 GB, free: 6.543 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.6125, allocations: 23.94 kB / 0.6253 GB, free: 6.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.103e-05/0.6125, allocations: 19.98 kB / 0.6253 GB, free: 6.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000126/0.6127, allocations: 143.4 kB / 0.6254 GB, free: 6.359 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6127, allocations: 0 / 0.6254 GB, free: 6.359 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006675/0.6133, allocations: 151.9 kB / 0.6256 GB, free: 6.211 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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.0005903/0.6139, allocations: 236.5 kB / 0.6258 GB, free: 5.98 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005072/0.6144, allocations: 224.2 kB / 0.626 GB, free: 5.766 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.6145, allocations: 0 / 0.626 GB, free: 5.766 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001894/0.6147, allocations: 88.14 kB / 0.6261 GB, free: 5.68 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004956/0.6152, allocations: 60.02 kB / 0.6262 GB, free: 5.621 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.6167, allocations: 0.7988 MB / 0.627 GB, free: 4.777 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.6171, allocations: 0.725 MB / 0.6277 GB, free: 4.023 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008501/0.618, allocations: 390.1 kB / 0.628 GB, free: 3.641 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/0.6182, allocations: 59.38 kB / 0.6281 GB, free: 3.582 MB / 462.1 MB Notification: Performance of SimCode: time 2.014e-06/0.6182, allocations: 0 / 0.6281 GB, free: 3.582 MB / 462.1 MB Notification: Performance of Templates: time 0.009473/0.6276, allocations: 4.845 MB / 0.6328 GB, free: 14.76 MB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches