Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 107.4 kB / 17.21 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001648/0.001649, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 241.8 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2308/0.2308, allocations: 44.17 MB / 336.1 MB, free: 2.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 64.41 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1371, allocations: 60.82 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.507/0.6441, allocations: 147.9 MB / 0.602 GB, free: 13.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00739/0.6516, allocations: 5.236 MB / 0.6071 GB, free: 8.047 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002576/0.6519, allocations: 0 / 0.6071 GB, free: 8.047 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003957/0.6523, allocations: 51.72 kB / 0.6071 GB, free: 7.996 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004004/0.6564, allocations: 1.034 MB / 0.6081 GB, free: 6.961 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003849/0.6568, allocations: 140.5 kB / 0.6083 GB, free: 6.828 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007535/0.6576, allocations: 466 kB / 0.6087 GB, free: 6.371 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.765e-05/0.6576, allocations: 13.69 kB / 0.6087 GB, free: 6.359 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004502/0.6581, allocations: 167.3 kB / 0.6089 GB, free: 6.195 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004633/0.6586, allocations: 179.4 kB / 0.6091 GB, free: 6.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.038e-05/0.6586, allocations: 8 kB / 0.6091 GB, free: 6.012 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002561/0.6612, allocations: 0.9791 MB / 0.61 GB, free: 5.031 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.6613, allocations: 51.75 kB / 0.6101 GB, free: 4.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001921/0.6615, allocations: 115.4 kB / 0.6102 GB, free: 4.867 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002406/0.664, allocations: 0.8498 MB / 0.611 GB, free: 4.016 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.664, allocations: 0 / 0.611 GB, free: 4.016 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.664, allocations: 0 / 0.611 GB, free: 4.016 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.664, allocations: 4 kB / 0.611 GB, free: 4.012 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.002059/0.6661, allocations: 0.6872 MB / 0.6117 GB, free: 3.277 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.2e-05/0.6661, allocations: 12.03 kB / 0.6117 GB, free: 3.266 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007612/0.6738, allocations: 0.5863 MB / 0.6123 GB, free: 2.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000533/0.6743, allocations: 267.7 kB / 0.6125 GB, free: 2.379 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/0.6745, allocations: 119.4 kB / 0.6126 GB, free: 2.234 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.6746, allocations: 20 kB / 0.6127 GB, free: 2.215 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.6759, allocations: 0.5633 MB / 0.6132 GB, free: 1.617 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.6759, allocations: 3.938 kB / 0.6132 GB, free: 1.613 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.294e-05/0.676, allocations: 16 kB / 0.6132 GB, free: 1.598 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.492e-05/0.676, allocations: 8 kB / 0.6132 GB, free: 1.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/0.6775, allocations: 0.6299 MB / 0.6139 GB, free: 0.9609 MB / 446.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.002584/0.6801, allocations: 1.711 MB / 0.6155 GB, free: 15.1 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003942/0.6806, allocations: 158.2 kB / 0.6157 GB, free: 14.94 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.6807, allocations: 80.83 kB / 0.6158 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008648/0.6816, allocations: 0.7042 MB / 0.6164 GB, free: 14.05 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.6816, allocations: 34.56 kB / 0.6165 GB, free: 14.01 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 2.235e-06/0.6817, allocations: 0 / 0.6165 GB, free: 14.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.001243/0.6829, allocations: 325.1 kB / 0.6168 GB, free: 13.69 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.683, allocations: 55.41 kB / 0.6168 GB, free: 13.62 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.6832, allocations: 191 kB / 0.617 GB, free: 13.43 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/0.6832, allocations: 25.7 kB / 0.617 GB, free: 13.39 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.6834, allocations: 191.2 kB / 0.6172 GB, free: 13.2 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.703e-05/0.6834, allocations: 59.11 kB / 0.6173 GB, free: 13.14 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.6836, allocations: 106 kB / 0.6174 GB, free: 13.03 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.6837, allocations: 326.8 kB / 0.6177 GB, free: 12.7 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.6839, allocations: 64.7 kB / 0.6178 GB, free: 12.64 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003023/0.6842, allocations: 268 kB / 0.618 GB, free: 12.29 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006621/0.6849, allocations: 354.2 kB / 0.6183 GB, free: 11.84 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.6849, allocations: 7.938 kB / 0.6184 GB, free: 11.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007159/0.6856, allocations: 371.6 kB / 0.6187 GB, free: 11.47 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/0.6857, allocations: 11.98 kB / 0.6187 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.6857, allocations: 8 kB / 0.6187 GB, free: 11.45 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.85e-05/0.6857, allocations: 11.94 kB / 0.6187 GB, free: 11.44 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005434/0.6863, allocations: 127.8 kB / 0.6189 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005186/0.6868, allocations: 0.6016 MB / 0.6195 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003168/0.6871, allocations: 47.75 kB / 0.6195 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.745e-05/0.6872, allocations: 40 kB / 0.6195 GB, free: 10.6 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001836/0.6874, allocations: 150.1 kB / 0.6197 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.479e-05/0.6875, allocations: 19.81 kB / 0.6197 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/0.6886, allocations: 443.4 kB / 0.6201 GB, free: 9.988 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.6886, allocations: 4 kB / 0.6201 GB, free: 9.984 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.6887, allocations: 4 kB / 0.6201 GB, free: 9.98 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.6887, allocations: 0 / 0.6201 GB, free: 9.98 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.6897, allocations: 0.6266 MB / 0.6207 GB, free: 9.258 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.6898, allocations: 0 / 0.6207 GB, free: 9.258 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002348/0.69, allocations: 55.97 kB / 0.6208 GB, free: 9.203 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.251e-05/0.69, allocations: 7.984 kB / 0.6208 GB, free: 9.195 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.69, allocations: 7.938 kB / 0.6208 GB, free: 9.188 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003472/0.6904, allocations: 0.5976 MB / 0.6214 GB, free: 8.566 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.6904, allocations: 4.031 kB / 0.6214 GB, free: 8.562 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004393/0.6909, allocations: 293.4 kB / 0.6217 GB, free: 8.238 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.691, allocations: 112.8 kB / 0.6218 GB, free: 8.109 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.594e-05/0.6911, allocations: 8 kB / 0.6218 GB, free: 8.102 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/0.6914, allocations: 8.844 kB / 0.6218 GB, free: 8.094 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.6914, allocations: 27.95 kB / 0.6218 GB, free: 8.066 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.6915, allocations: 15.98 kB / 0.6218 GB, free: 8.051 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001485/0.6916, allocations: 144.2 kB / 0.622 GB, free: 7.91 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.6916, allocations: 4 kB / 0.622 GB, free: 7.906 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007857/0.6924, allocations: 155.9 kB / 0.6221 GB, free: 7.754 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000774/0.6932, allocations: 243.5 kB / 0.6224 GB, free: 7.52 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006396/0.6939, allocations: 224.5 kB / 0.6226 GB, free: 7.301 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.6939, allocations: 0 / 0.6226 GB, free: 7.301 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.6941, allocations: 82.02 kB / 0.6227 GB, free: 7.223 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006445/0.6948, allocations: 65.2 kB / 0.6227 GB, free: 7.16 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/0.6969, allocations: 0.7581 MB / 0.6235 GB, free: 6.355 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009277/0.6978, allocations: 0.7248 MB / 0.6242 GB, free: 5.602 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00113/0.6989, allocations: 388.7 kB / 0.6245 GB, free: 5.223 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002274/0.6992, allocations: 63.38 kB / 0.6246 GB, free: 5.16 MB / 462.1 MB Notification: Performance of SimCode: time 6.62e-07/0.6992, allocations: 0 / 0.6246 GB, free: 5.16 MB / 462.1 MB Notification: Performance of Templates: time 0.01115/0.7103, allocations: 5.04 MB / 0.6295 GB, free: 160 kB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches