Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009071/0.0009071, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 164.8 kB / 24.99 MB, free: 8.793 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9798/0.9798, allocations: 177.1 MB / 205.3 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3011/0.3011, allocations: 34.26 MB / 296 MB, free: 0.7734 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa") translateModel(ModelicaTest.Media.TestAllProperties.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.063e-06/2.063e-06, allocations: 0 / 378 MB, free: 2.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.797e-05/2.004e-05, allocations: 9.625 kB / 378 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.3318/0.3318, allocations: 145.8 MB / 0.5115 GB, free: 17.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004239/0.3361, allocations: 5.214 MB / 0.5166 GB, free: 13.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001521/0.3362, allocations: 0 / 0.5166 GB, free: 13.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003162/0.3365, allocations: 59.14 kB / 0.5167 GB, free: 13.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002884/0.3394, allocations: 1.247 MB / 0.5179 GB, free: 13.19 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.3397, allocations: 141.1 kB / 0.518 GB, free: 13.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004387/0.3401, allocations: 405 kB / 0.5184 GB, free: 12.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.928e-05/0.3402, allocations: 7.625 kB / 0.5184 GB, free: 12.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002683/0.3404, allocations: 234.3 kB / 0.5186 GB, free: 12.85 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.3406, allocations: 157.4 kB / 0.5188 GB, free: 12.81 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.3407, allocations: 9.219 kB / 0.5188 GB, free: 12.81 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.3419, allocations: 0.9409 MB / 0.5197 GB, free: 12.53 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.946e-05/0.342, allocations: 48.48 kB / 0.5198 GB, free: 12.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.008e-05/0.3421, allocations: 86.56 kB / 0.5198 GB, free: 12.47 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.3431, allocations: 0.9319 MB / 0.5208 GB, free: 12.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.3431, allocations: 0 / 0.5208 GB, free: 12.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3431, allocations: 0 / 0.5208 GB, free: 12.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.3431, allocations: 0 / 0.5208 GB, free: 12.17 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.0009445/0.3441, allocations: 0.7174 MB / 0.5215 GB, free: 11.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.3441, allocations: 9.281 kB / 0.5215 GB, free: 11.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003756/0.3479, allocations: 0.6618 MB / 0.5221 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.3482, allocations: 205.5 kB / 0.5223 GB, free: 11.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.737e-05/0.3482, allocations: 227.7 kB / 0.5225 GB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.981e-05/0.3483, allocations: 29.19 kB / 0.5226 GB, free: 11.08 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006837/0.349, allocations: 0.7445 MB / 0.5233 GB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.349, allocations: 6.656 kB / 0.5233 GB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.607e-05/0.3491, allocations: 10.94 kB / 0.5233 GB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.084e-05/0.3491, allocations: 5.938 kB / 0.5233 GB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006026/0.3497, allocations: 0.5152 MB / 0.5238 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.3509, allocations: 1.808 MB / 0.5256 GB, free: 8.984 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.3511, allocations: 141 kB / 0.5257 GB, free: 8.926 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.581e-05/0.3512, allocations: 67.05 kB / 0.5258 GB, free: 8.902 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003164/0.3515, allocations: 460.9 kB / 0.5262 GB, free: 8.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.3515, allocations: 40.7 kB / 0.5263 GB, free: 8.473 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.102e-06/0.3515, allocations: 0 / 0.5263 GB, free: 8.473 MB / 410.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=17): time 0.0006143/0.3522, allocations: 293.7 kB / 0.5265 GB, free: 8.395 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.227e-05/0.3522, allocations: 58.22 kB / 0.5266 GB, free: 8.328 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.3523, allocations: 267.5 kB / 0.5268 GB, free: 8.113 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.3523, allocations: 28.64 kB / 0.5269 GB, free: 8.082 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.392e-05/0.3524, allocations: 243.2 kB / 0.5271 GB, free: 7.859 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.3524, allocations: 65.39 kB / 0.5272 GB, free: 7.809 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.259e-05/0.3525, allocations: 105.1 kB / 0.5273 GB, free: 7.754 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.519e-05/0.3526, allocations: 0.5024 MB / 0.5278 GB, free: 7.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.034e-05/0.3526, allocations: 48.97 kB / 0.5278 GB, free: 7.246 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.3528, allocations: 342.6 kB / 0.5281 GB, free: 6.859 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/0.353, allocations: 422 kB / 0.5285 GB, free: 6.426 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.353, allocations: 2.938 kB / 0.5285 GB, free: 6.426 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003508/0.3534, allocations: 370.8 kB / 0.5289 GB, free: 6.281 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3534, allocations: 8.688 kB / 0.5289 GB, free: 6.281 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.3534, allocations: 8.719 kB / 0.5289 GB, free: 6.281 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.3534, allocations: 11.66 kB / 0.5289 GB, free: 6.281 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/0.3537, allocations: 126.8 kB / 0.529 GB, free: 6.266 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001994/0.3539, allocations: 0.9167 MB / 0.5299 GB, free: 5.355 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.354, allocations: 37.64 kB / 0.53 GB, free: 5.332 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-05/0.354, allocations: 46.45 kB / 0.53 GB, free: 5.328 MB / 410.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 (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 8.381e-05/0.3541, allocations: 189.1 kB / 0.5302 GB, free: 5.141 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.997e-05/0.3541, allocations: 19.28 kB / 0.5302 GB, free: 5.133 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004522/0.3546, allocations: 430.2 kB / 0.5306 GB, free: 4.988 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3546, allocations: 2.969 kB / 0.5306 GB, free: 4.988 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3546, allocations: 0 / 0.5306 GB, free: 4.988 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3546, allocations: 2.578 kB / 0.5306 GB, free: 4.988 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003956/0.355, allocations: 0.5429 MB / 0.5312 GB, free: 4.539 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.355, allocations: 2.875 kB / 0.5312 GB, free: 4.539 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.3551, allocations: 58.92 kB / 0.5312 GB, free: 4.535 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3551, allocations: 6.812 kB / 0.5312 GB, free: 4.531 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.3551, allocations: 16.06 kB / 0.5312 GB, free: 4.523 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001403/0.3553, allocations: 0.9003 MB / 0.5321 GB, free: 3.621 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.3553, allocations: 7.438 kB / 0.5321 GB, free: 3.617 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.3555, allocations: 348.5 kB / 0.5325 GB, free: 3.316 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.286e-05/0.3555, allocations: 33.97 kB / 0.5325 GB, free: 3.301 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.3555, allocations: 6.609 kB / 0.5325 GB, free: 3.297 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.3557, allocations: 19.5 kB / 0.5325 GB, free: 3.289 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.3557, allocations: 24.77 kB / 0.5325 GB, free: 3.277 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.3557, allocations: 19.61 kB / 0.5326 GB, free: 3.277 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.328e-05/0.3558, allocations: 179.8 kB / 0.5327 GB, free: 3.145 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3558, allocations: 0 / 0.5327 GB, free: 3.145 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003582/0.3561, allocations: 152.6 kB / 0.5329 GB, free: 3.117 MB / 410.7 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.0003242/0.3564, allocations: 245.3 kB / 0.5331 GB, free: 2.988 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000291/0.3567, allocations: 220.1 kB / 0.5333 GB, free: 2.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3567, allocations: 0 / 0.5333 GB, free: 2.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.029e-05/0.3568, allocations: 82.81 kB / 0.5334 GB, free: 2.902 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.3572, allocations: 81.45 kB / 0.5335 GB, free: 2.887 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.3582, allocations: 0.6962 MB / 0.5342 GB, free: 2.434 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.182e-05/0.3583, allocations: 74.14 kB / 0.5342 GB, free: 2.363 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000411/0.3587, allocations: 384.7 kB / 0.5346 GB, free: 2.309 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.3588, allocations: 64.52 kB / 0.5347 GB, free: 2.293 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.3588, allocations: 2.906 kB / 0.5347 GB, free: 2.293 MB / 410.7 MB Notification: Performance of Templates: time 0.006338/0.3651, allocations: 5.298 MB / 0.5398 GB, free: 0.7383 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7559663727879524]