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.00121/0.00121, allocations: 83.58 kB / 21.19 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.0009776/0.0009776, allocations: 161 kB / 24.55 MB, free: 20 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 1.04/1.04, allocations: 177.1 MB / 205 MB, free: 5.246 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.2907/0.2907, allocations: 34.25 MB / 295.7 MB, free: 0.7109 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.733e-06/1.733e-06, allocations: 0 / 378.1 MB, free: 2.633 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.142e-05, allocations: 5.266 kB / 378.1 MB, free: 2.629 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.2879/0.2879, allocations: 146 MB / 0.5118 GB, free: 17.16 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003699/0.2916, allocations: 5.226 MB / 0.5169 GB, free: 13.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.145e-05/0.2917, allocations: 3.312 kB / 0.5169 GB, free: 13.66 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002777/0.292, allocations: 61.73 kB / 0.517 GB, free: 13.63 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002202/0.2942, allocations: 1.275 MB / 0.5182 GB, free: 12.94 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002228/0.2944, allocations: 149.3 kB / 0.5184 GB, free: 12.87 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004083/0.2948, allocations: 417.2 kB / 0.5188 GB, free: 12.67 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.857e-05/0.2949, allocations: 11.47 kB / 0.5188 GB, free: 12.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002541/0.2951, allocations: 234.5 kB / 0.519 GB, free: 12.58 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.2953, allocations: 157 kB / 0.5191 GB, free: 12.54 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.368e-05/0.2954, allocations: 8.781 kB / 0.5192 GB, free: 12.54 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.2964, allocations: 0.9458 MB / 0.5201 GB, free: 12.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.498e-05/0.2965, allocations: 53.2 kB / 0.5201 GB, free: 12.22 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.999e-05/0.2966, allocations: 82.12 kB / 0.5202 GB, free: 12.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009057/0.2975, allocations: 0.9314 MB / 0.5211 GB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2975, allocations: 0 / 0.5211 GB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2975, allocations: 0 / 0.5211 GB, free: 11.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.2975, allocations: 0 / 0.5211 GB, free: 11.89 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.000843/0.2983, allocations: 0.718 MB / 0.5218 GB, free: 11.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.2984, allocations: 12.25 kB / 0.5218 GB, free: 11.35 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003666/0.302, allocations: 0.66 MB / 0.5225 GB, free: 11.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.3023, allocations: 200.1 kB / 0.5227 GB, free: 11.08 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.227e-05/0.3024, allocations: 232.4 kB / 0.5229 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.985e-05/0.3024, allocations: 33.33 kB / 0.5229 GB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006254/0.3031, allocations: 0.7392 MB / 0.5236 GB, free: 10.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3031, allocations: 3.984 kB / 0.5236 GB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.401e-05/0.3031, allocations: 9.391 kB / 0.5237 GB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.3031, allocations: 12.72 kB / 0.5237 GB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005893/0.3037, allocations: 0.513 MB / 0.5242 GB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.3049, allocations: 1.815 MB / 0.5259 GB, free: 8.703 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002727/0.3051, allocations: 137 kB / 0.5261 GB, free: 8.648 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.126e-05/0.3052, allocations: 64.72 kB / 0.5261 GB, free: 8.625 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003411/0.3055, allocations: 464.5 kB / 0.5266 GB, free: 8.242 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.3056, allocations: 36.14 kB / 0.5266 GB, free: 8.199 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.433e-06/0.3056, allocations: 0 / 0.5266 GB, free: 8.199 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.0007644/0.3063, allocations: 304.9 kB / 0.5269 GB, free: 8.113 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.863e-05/0.3064, allocations: 57.72 kB / 0.527 GB, free: 8.047 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.3065, allocations: 261.4 kB / 0.5272 GB, free: 7.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.3065, allocations: 32.64 kB / 0.5272 GB, free: 7.805 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.568e-05/0.3066, allocations: 241.6 kB / 0.5275 GB, free: 7.582 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.3066, allocations: 63.11 kB / 0.5275 GB, free: 7.535 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.3067, allocations: 98.98 kB / 0.5276 GB, free: 7.484 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.761e-05/0.3068, allocations: 0.5029 MB / 0.5281 GB, free: 6.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.456e-05/0.3069, allocations: 58.12 kB / 0.5282 GB, free: 6.973 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.307, allocations: 336.5 kB / 0.5285 GB, free: 6.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002826/0.3073, allocations: 423.5 kB / 0.5289 GB, free: 6.152 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3073, allocations: 3.125 kB / 0.5289 GB, free: 6.152 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004605/0.3078, allocations: 374.7 kB / 0.5293 GB, free: 6.004 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3078, allocations: 9.812 kB / 0.5293 GB, free: 6.004 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.3078, allocations: 8.094 kB / 0.5293 GB, free: 6.004 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.3078, allocations: 12.44 kB / 0.5293 GB, free: 6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003047/0.3081, allocations: 121.9 kB / 0.5294 GB, free: 5.992 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001962/0.3083, allocations: 0.918 MB / 0.5303 GB, free: 5.078 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.3085, allocations: 40.95 kB / 0.5303 GB, free: 5.055 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.433e-05/0.3085, allocations: 43.3 kB / 0.5304 GB, free: 5.051 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.151e-05/0.3086, allocations: 184.8 kB / 0.5306 GB, free: 4.867 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.62e-05/0.3087, allocations: 28.92 kB / 0.5306 GB, free: 4.855 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005312/0.3092, allocations: 423.6 kB / 0.531 GB, free: 4.719 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3092, allocations: 2.766 kB / 0.531 GB, free: 4.719 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.3092, allocations: 0 / 0.531 GB, free: 4.719 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3092, allocations: 3.938 kB / 0.531 GB, free: 4.715 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004574/0.3097, allocations: 0.5453 MB / 0.5315 GB, free: 4.266 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3097, allocations: 0 / 0.5315 GB, free: 4.266 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.3098, allocations: 63.66 kB / 0.5316 GB, free: 4.258 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3098, allocations: 3.312 kB / 0.5316 GB, free: 4.258 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.3098, allocations: 4.438 kB / 0.5316 GB, free: 4.258 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001448/0.31, allocations: 0.9027 MB / 0.5325 GB, free: 3.355 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.31, allocations: 11.91 kB / 0.5325 GB, free: 3.344 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.3102, allocations: 353.2 kB / 0.5328 GB, free: 3.043 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.222e-05/0.3102, allocations: 32.09 kB / 0.5329 GB, free: 3.027 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/0.3103, allocations: 13.44 kB / 0.5329 GB, free: 3.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.3104, allocations: 7.984 kB / 0.5329 GB, free: 3.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.3105, allocations: 20.92 kB / 0.5329 GB, free: 3.012 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.3105, allocations: 19.7 kB / 0.5329 GB, free: 3.012 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.31e-05/0.3106, allocations: 179.4 kB / 0.5331 GB, free: 2.879 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3106, allocations: 0 / 0.5331 GB, free: 2.879 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005044/0.3111, allocations: 154.4 kB / 0.5332 GB, free: 2.848 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.0003455/0.3114, allocations: 253.8 kB / 0.5335 GB, free: 2.711 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003405/0.3117, allocations: 219.9 kB / 0.5337 GB, free: 2.656 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3118, allocations: 0 / 0.5337 GB, free: 2.656 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.3119, allocations: 85.64 kB / 0.5338 GB, free: 2.625 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/0.3123, allocations: 73.39 kB / 0.5338 GB, free: 2.613 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.3136, allocations: 0.706 MB / 0.5345 GB, free: 2.156 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.252e-05/0.3136, allocations: 73.42 kB / 0.5346 GB, free: 2.086 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005021/0.3141, allocations: 390.8 kB / 0.535 GB, free: 2.023 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.3142, allocations: 62.33 kB / 0.535 GB, free: 2.008 MB / 410.7 MB Notification: Performance of SimCode: time 8.42e-07/0.3142, allocations: 0 / 0.535 GB, free: 2.008 MB / 410.7 MB Notification: Performance of Templates: time 0.007361/0.3216, allocations: 5.268 MB / 0.5402 GB, free: 428 kB / 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.6505503868684173]