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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001279/0.001279, allocations: 81.91 kB / 21.42 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001567/0.001567, allocations: 164.6 kB / 24.82 MB, free: 9.238 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9934/0.9934, allocations: 177 MB / 205.1 MB, free: 5.441 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2613/0.2613, allocations: 34.87 MB / 296.6 MB, free: 0.5039 MB / 266.7 MB " [Timeout remaining time 180] 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=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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 0 / 379.2 MB, free: 1.793 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.559e-05/2.828e-05, allocations: 6.25 kB / 379.3 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.2835/0.2835, allocations: 143.3 MB / 0.5103 GB, free: 18.02 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00366/0.2872, allocations: 5.193 MB / 0.5154 GB, free: 14.51 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.2873, allocations: 5.125 kB / 0.5154 GB, free: 14.51 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002646/0.2875, allocations: 55.23 kB / 0.5155 GB, free: 14.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002744/0.2903, allocations: 1.281 MB / 0.5167 GB, free: 13.79 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002223/0.2905, allocations: 145.5 kB / 0.5168 GB, free: 13.71 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003884/0.2909, allocations: 416.3 kB / 0.5172 GB, free: 13.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.86e-05/0.2909, allocations: 15.2 kB / 0.5173 GB, free: 13.51 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002413/0.2912, allocations: 232.6 kB / 0.5175 GB, free: 13.43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002025/0.2914, allocations: 163.2 kB / 0.5176 GB, free: 13.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.2914, allocations: 8.25 kB / 0.5176 GB, free: 13.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.2927, allocations: 0.9416 MB / 0.5186 GB, free: 13.1 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.324e-05/0.2927, allocations: 55.44 kB / 0.5186 GB, free: 13.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.867e-05/0.2928, allocations: 81.23 kB / 0.5187 GB, free: 13.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001317/0.2941, allocations: 0.9292 MB / 0.5196 GB, free: 12.74 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2941, allocations: 0 / 0.5196 GB, free: 12.74 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2941, allocations: 2.156 kB / 0.5196 GB, free: 12.74 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.2941, allocations: 0 / 0.5196 GB, free: 12.74 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.0009704/0.2951, allocations: 0.7235 MB / 0.5203 GB, free: 12.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.2951, allocations: 8.281 kB / 0.5203 GB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003555/0.2987, allocations: 0.6613 MB / 0.521 GB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003562/0.299, allocations: 203.3 kB / 0.5212 GB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.397e-05/0.2991, allocations: 228.7 kB / 0.5214 GB, free: 11.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.23e-05/0.2992, allocations: 29.72 kB / 0.5214 GB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006/0.2998, allocations: 0.6936 MB / 0.5221 GB, free: 11.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.2998, allocations: 3.938 kB / 0.5221 GB, free: 11.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.86e-05/0.2999, allocations: 11 kB / 0.5221 GB, free: 11.22 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.2999, allocations: 11.02 kB / 0.5221 GB, free: 11.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000475/0.3003, allocations: 448.7 kB / 0.5225 GB, free: 11.19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.3014, allocations: 1.784 MB / 0.5243 GB, free: 9.633 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.3016, allocations: 126.5 kB / 0.5244 GB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.949e-05/0.3016, allocations: 55.72 kB / 0.5244 GB, free: 9.562 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003255/0.302, allocations: 466.3 kB / 0.5249 GB, free: 9.184 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.302, allocations: 39.58 kB / 0.5249 GB, free: 9.137 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.302, allocations: 4 kB / 0.5249 GB, free: 9.133 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.0005722/0.3026, allocations: 270.7 kB / 0.5252 GB, free: 9.066 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.902e-05/0.3026, allocations: 53.78 kB / 0.5252 GB, free: 9.004 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.3027, allocations: 265.6 kB / 0.5255 GB, free: 8.789 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.3027, allocations: 37.17 kB / 0.5255 GB, free: 8.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.443e-05/0.3028, allocations: 242.4 kB / 0.5258 GB, free: 8.527 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.3028, allocations: 60.73 kB / 0.5258 GB, free: 8.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.898e-05/0.3029, allocations: 106 kB / 0.5259 GB, free: 8.426 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.729e-05/0.3029, allocations: 0.5063 MB / 0.5264 GB, free: 7.918 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.863e-05/0.303, allocations: 41.34 kB / 0.5265 GB, free: 7.918 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.3031, allocations: 328 kB / 0.5268 GB, free: 7.539 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/0.3033, allocations: 413.1 kB / 0.5272 GB, free: 7.105 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3033, allocations: 3.188 kB / 0.5272 GB, free: 7.105 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003097/0.3036, allocations: 343.5 kB / 0.5275 GB, free: 6.973 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.3036, allocations: 11.08 kB / 0.5275 GB, free: 6.973 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.3036, allocations: 5.688 kB / 0.5275 GB, free: 6.973 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.3037, allocations: 10.81 kB / 0.5275 GB, free: 6.973 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.3039, allocations: 125.3 kB / 0.5276 GB, free: 6.961 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001816/0.3041, allocations: 0.9169 MB / 0.5285 GB, free: 6.047 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.3042, allocations: 40.08 kB / 0.5286 GB, free: 6.023 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.337e-05/0.3042, allocations: 39.48 kB / 0.5286 GB, free: 6.02 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.698e-05/0.3043, allocations: 191.1 kB / 0.5288 GB, free: 5.832 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.908e-05/0.3043, allocations: 22.06 kB / 0.5288 GB, free: 5.824 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004156/0.3048, allocations: 422.7 kB / 0.5292 GB, free: 5.684 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.3048, allocations: 6.469 kB / 0.5292 GB, free: 5.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.3048, allocations: 0 / 0.5292 GB, free: 5.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3048, allocations: 2.781 kB / 0.5292 GB, free: 5.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003868/0.3052, allocations: 0.4997 MB / 0.5297 GB, free: 5.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3052, allocations: 2.406 kB / 0.5297 GB, free: 5.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.3053, allocations: 61.31 kB / 0.5298 GB, free: 5.262 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.3053, allocations: 2.938 kB / 0.5298 GB, free: 5.262 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.3053, allocations: 9.609 kB / 0.5298 GB, free: 5.258 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001499/0.3054, allocations: 0.9079 MB / 0.5307 GB, free: 4.348 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3054, allocations: 3.5 kB / 0.5307 GB, free: 4.348 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.3056, allocations: 349.7 kB / 0.531 GB, free: 4.043 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.723e-05/0.3057, allocations: 35.73 kB / 0.531 GB, free: 4.023 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.3057, allocations: 15.45 kB / 0.5311 GB, free: 4.016 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.3058, allocations: 11.14 kB / 0.5311 GB, free: 4.016 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.663e-05/0.3058, allocations: 25.25 kB / 0.5311 GB, free: 4.004 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.855e-05/0.3058, allocations: 18.09 kB / 0.5311 GB, free: 4.004 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.895e-05/0.3059, allocations: 172.7 kB / 0.5313 GB, free: 3.875 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3059, allocations: 0 / 0.5313 GB, free: 3.875 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004535/0.3064, allocations: 148.7 kB / 0.5314 GB, free: 3.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.0003097/0.3067, allocations: 244.9 kB / 0.5317 GB, free: 3.719 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002585/0.3069, allocations: 208.9 kB / 0.5319 GB, free: 3.668 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3069, allocations: 0.5 kB / 0.5319 GB, free: 3.668 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.884e-05/0.307, allocations: 86.02 kB / 0.5319 GB, free: 3.637 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.3073, allocations: 73.66 kB / 0.532 GB, free: 3.625 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009965/0.3083, allocations: 0.6974 MB / 0.5327 GB, free: 3.176 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.864e-05/0.3083, allocations: 79.14 kB / 0.5328 GB, free: 3.102 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004167/0.3088, allocations: 385.2 kB / 0.5331 GB, free: 3.039 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002243/0.309, allocations: 191.8 kB / 0.5333 GB, free: 2.961 MB / 410.7 MB Notification: Performance of SimCode: time 1.322e-06/0.309, allocations: 0 / 0.5333 GB, free: 2.961 MB / 410.7 MB Notification: Performance of Templates: time 0.007153/0.3161, allocations: 6.161 MB / 0.5393 GB, free: 0.9219 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.603010519873351]