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.0008648/0.0008648, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009637/0.0009637, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.93/0.93, allocations: 177.1 MB / 205 MB, free: 5.621 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.2586/0.2586, allocations: 34.26 MB / 295.7 MB, free: 0.7422 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 1.432e-06/1.432e-06, allocations: 0 / 378.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.458e-05/1.601e-05, allocations: 6.25 kB / 378.1 MB, free: 2.609 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.2833/0.2833, allocations: 146 MB / 0.5118 GB, free: 17.15 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003806/0.2871, allocations: 5.233 MB / 0.5169 GB, free: 13.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.2872, allocations: 0 / 0.5169 GB, free: 13.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002925/0.2875, allocations: 62.34 kB / 0.517 GB, free: 13.61 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002554/0.2901, allocations: 1.283 MB / 0.5182 GB, free: 12.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.2903, allocations: 148 kB / 0.5184 GB, free: 12.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004058/0.2907, allocations: 412.8 kB / 0.5188 GB, free: 12.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.885e-05/0.2907, allocations: 14.44 kB / 0.5188 GB, free: 12.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002464/0.291, allocations: 228.9 kB / 0.519 GB, free: 12.56 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.2912, allocations: 165 kB / 0.5192 GB, free: 12.51 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/0.2912, allocations: 8.5 kB / 0.5192 GB, free: 12.51 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/0.2924, allocations: 0.9454 MB / 0.5201 GB, free: 12.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.891e-05/0.2925, allocations: 49.22 kB / 0.5201 GB, free: 12.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.095e-05/0.2926, allocations: 82.03 kB / 0.5202 GB, free: 12.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009873/0.2936, allocations: 0.9276 MB / 0.5211 GB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2936, allocations: 4 kB / 0.5211 GB, free: 11.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2936, allocations: 0 / 0.5211 GB, free: 11.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.2936, allocations: 0.5156 kB / 0.5211 GB, free: 11.87 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.0009026/0.2945, allocations: 0.7169 MB / 0.5218 GB, free: 11.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.2945, allocations: 8.75 kB / 0.5218 GB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003579/0.2981, allocations: 0.6575 MB / 0.5225 GB, free: 11.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/0.2984, allocations: 213.8 kB / 0.5227 GB, free: 11.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.344e-05/0.2985, allocations: 230.5 kB / 0.5229 GB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.095e-05/0.2985, allocations: 29.06 kB / 0.5229 GB, free: 10.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006496/0.2992, allocations: 0.7374 MB / 0.5236 GB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.2992, allocations: 0 / 0.5236 GB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.783e-05/0.2993, allocations: 13.59 kB / 0.5237 GB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.211e-05/0.2993, allocations: 5.719 kB / 0.5237 GB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005634/0.2998, allocations: 0.5209 MB / 0.5242 GB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.3009, allocations: 1.813 MB / 0.5259 GB, free: 8.688 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.3011, allocations: 145.3 kB / 0.5261 GB, free: 8.625 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.981e-05/0.3012, allocations: 60.8 kB / 0.5261 GB, free: 8.605 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003033/0.3015, allocations: 455.7 kB / 0.5266 GB, free: 8.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.3015, allocations: 44.39 kB / 0.5266 GB, free: 8.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.153e-06/0.3015, allocations: 0 / 0.5266 GB, free: 8.18 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.0005799/0.3021, allocations: 293.5 kB / 0.5269 GB, free: 8.102 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.749e-05/0.3021, allocations: 55.31 kB / 0.5269 GB, free: 8.035 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.3022, allocations: 272.6 kB / 0.5272 GB, free: 7.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.3022, allocations: 29.64 kB / 0.5272 GB, free: 7.785 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.434e-05/0.3023, allocations: 242 kB / 0.5275 GB, free: 7.566 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.3023, allocations: 69.19 kB / 0.5275 GB, free: 7.512 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.122e-05/0.3024, allocations: 98.78 kB / 0.5276 GB, free: 7.461 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.646e-05/0.3024, allocations: 0.5022 MB / 0.5281 GB, free: 6.957 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.559e-05/0.3025, allocations: 51.81 kB / 0.5282 GB, free: 6.953 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.3026, allocations: 342.7 kB / 0.5285 GB, free: 6.566 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002265/0.3029, allocations: 429.1 kB / 0.5289 GB, free: 6.125 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.3029, allocations: 2.781 kB / 0.5289 GB, free: 6.125 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003473/0.3032, allocations: 365.2 kB / 0.5293 GB, free: 5.984 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3032, allocations: 8.969 kB / 0.5293 GB, free: 5.984 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.3032, allocations: 5.656 kB / 0.5293 GB, free: 5.984 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3033, allocations: 12.44 kB / 0.5293 GB, free: 5.984 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.3035, allocations: 126.6 kB / 0.5294 GB, free: 5.969 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001871/0.3037, allocations: 0.9209 MB / 0.5303 GB, free: 5.055 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.3038, allocations: 39.08 kB / 0.5303 GB, free: 5.031 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.3038, allocations: 43.58 kB / 0.5304 GB, free: 5.027 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 7.774e-05/0.3039, allocations: 190 kB / 0.5306 GB, free: 4.844 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.304, allocations: 19.16 kB / 0.5306 GB, free: 4.836 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004302/0.3044, allocations: 431.8 kB / 0.531 GB, free: 4.695 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3044, allocations: 0 / 0.531 GB, free: 4.695 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3044, allocations: 2.562 kB / 0.531 GB, free: 4.695 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3044, allocations: 0 / 0.531 GB, free: 4.695 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003938/0.3048, allocations: 0.5435 MB / 0.5315 GB, free: 4.246 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3048, allocations: 0 / 0.5315 GB, free: 4.246 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.3049, allocations: 58.81 kB / 0.5316 GB, free: 4.242 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3049, allocations: 2.938 kB / 0.5316 GB, free: 4.242 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.3049, allocations: 12.22 kB / 0.5316 GB, free: 4.238 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001302/0.305, allocations: 0.9033 MB / 0.5325 GB, free: 3.332 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.305, allocations: 9.844 kB / 0.5325 GB, free: 3.324 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.3052, allocations: 357.9 kB / 0.5328 GB, free: 3.016 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.256e-05/0.3053, allocations: 34.67 kB / 0.5329 GB, free: 3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.3053, allocations: 6.953 kB / 0.5329 GB, free: 2.996 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.3054, allocations: 11.84 kB / 0.5329 GB, free: 2.992 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.92e-05/0.3054, allocations: 27.59 kB / 0.5329 GB, free: 2.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.3055, allocations: 19.55 kB / 0.5329 GB, free: 2.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.431e-05/0.3055, allocations: 180.2 kB / 0.5331 GB, free: 2.848 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3055, allocations: 0 / 0.5331 GB, free: 2.848 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004289/0.306, allocations: 153.2 kB / 0.5332 GB, free: 2.82 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.0003102/0.3063, allocations: 242.5 kB / 0.5335 GB, free: 2.691 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002852/0.3066, allocations: 218.1 kB / 0.5337 GB, free: 2.637 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3066, allocations: 3.938 kB / 0.5337 GB, free: 2.633 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.806e-05/0.3066, allocations: 80.48 kB / 0.5338 GB, free: 2.609 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.307, allocations: 72.69 kB / 0.5338 GB, free: 2.594 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.308, allocations: 0.6991 MB / 0.5345 GB, free: 2.145 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.666e-05/0.3081, allocations: 73.8 kB / 0.5346 GB, free: 2.074 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003737/0.3085, allocations: 392.4 kB / 0.535 GB, free: 2.012 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.3086, allocations: 66.81 kB / 0.535 GB, free: 1.992 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.3086, allocations: 0 / 0.535 GB, free: 1.992 MB / 410.7 MB Notification: Performance of Templates: time 0.006693/0.3153, allocations: 6.103 MB / 0.541 GB, free: 15.95 MB / 426.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.511366771068424]