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.001197/0.001197, allocations: 83.67 kB / 21.7 MB, free: 2.848 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.001228/0.001228, allocations: 160.5 kB / 24.99 MB, free: 9.277 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 1.029/1.029, allocations: 177 MB / 205.2 MB, free: 5.617 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.3155/0.3155, allocations: 34.85 MB / 296.6 MB, free: 0.5625 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 1.372e-06/1.372e-06, allocations: 0 / 378.8 MB, free: 2.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.232e-05, allocations: 3.578 kB / 378.8 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.3/0.3001, allocations: 145.7 MB / 0.5122 GB, free: 16.86 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003906/0.304, allocations: 5.21 MB / 0.5173 GB, free: 13.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.3041, allocations: 2.594 kB / 0.5173 GB, free: 13.38 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002892/0.3044, allocations: 64.53 kB / 0.5174 GB, free: 13.35 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002482/0.3069, allocations: 1.258 MB / 0.5186 GB, free: 12.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.3071, allocations: 139.5 kB / 0.5187 GB, free: 12.6 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003824/0.3075, allocations: 406 kB / 0.5191 GB, free: 12.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.927e-05/0.3075, allocations: 7.156 kB / 0.5191 GB, free: 12.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002136/0.3077, allocations: 226.8 kB / 0.5194 GB, free: 12.33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.3079, allocations: 164.3 kB / 0.5195 GB, free: 12.29 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.3079, allocations: 9.031 kB / 0.5195 GB, free: 12.29 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000986/0.3089, allocations: 0.9342 MB / 0.5204 GB, free: 12.01 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.025e-05/0.309, allocations: 47.81 kB / 0.5205 GB, free: 11.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.616e-05/0.309, allocations: 76.2 kB / 0.5206 GB, free: 11.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008067/0.3099, allocations: 0.9369 MB / 0.5215 GB, free: 11.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3099, allocations: 0 / 0.5215 GB, free: 11.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3099, allocations: 0 / 0.5215 GB, free: 11.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.3099, allocations: 0 / 0.5215 GB, free: 11.66 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.0007769/0.3106, allocations: 0.7224 MB / 0.5222 GB, free: 11.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.3107, allocations: 11.81 kB / 0.5222 GB, free: 11.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00363/0.3143, allocations: 0.6561 MB / 0.5228 GB, free: 11.01 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.3146, allocations: 204.1 kB / 0.523 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.239e-05/0.3147, allocations: 232.6 kB / 0.5232 GB, free: 10.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.116e-05/0.3147, allocations: 29.22 kB / 0.5233 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005949/0.3153, allocations: 0.7427 MB / 0.524 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3153, allocations: 3.938 kB / 0.524 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.045e-05/0.3154, allocations: 10.81 kB / 0.524 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.3154, allocations: 5.375 kB / 0.524 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005638/0.316, allocations: 0.5147 MB / 0.5245 GB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.317, allocations: 1.817 MB / 0.5263 GB, free: 8.461 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.3172, allocations: 137.8 kB / 0.5264 GB, free: 8.406 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.907e-05/0.3172, allocations: 67.19 kB / 0.5265 GB, free: 8.383 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002815/0.3175, allocations: 464 kB / 0.5269 GB, free: 8.004 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.3175, allocations: 42.16 kB / 0.527 GB, free: 7.957 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.062e-06/0.3175, allocations: 4 kB / 0.527 GB, free: 7.953 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.0005638/0.3181, allocations: 291.6 kB / 0.5272 GB, free: 7.875 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.802e-05/0.3181, allocations: 54.25 kB / 0.5273 GB, free: 7.812 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.3182, allocations: 261.3 kB / 0.5276 GB, free: 7.605 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.3182, allocations: 36.64 kB / 0.5276 GB, free: 7.566 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.4e-05/0.3183, allocations: 240.6 kB / 0.5278 GB, free: 7.344 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.3183, allocations: 67.45 kB / 0.5279 GB, free: 7.293 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.982e-05/0.3184, allocations: 103.2 kB / 0.528 GB, free: 7.238 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.581e-05/0.3184, allocations: 0.5043 MB / 0.5285 GB, free: 6.734 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.794e-05/0.3185, allocations: 51.64 kB / 0.5285 GB, free: 6.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.3186, allocations: 335 kB / 0.5288 GB, free: 6.348 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.3189, allocations: 433.7 kB / 0.5293 GB, free: 5.902 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.3189, allocations: 0 / 0.5293 GB, free: 5.902 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000347/0.3192, allocations: 368.9 kB / 0.5296 GB, free: 5.762 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3192, allocations: 8.25 kB / 0.5296 GB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.3192, allocations: 8.406 kB / 0.5296 GB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.3193, allocations: 8.969 kB / 0.5296 GB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/0.3195, allocations: 125.9 kB / 0.5297 GB, free: 5.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001811/0.3197, allocations: 0.9176 MB / 0.5306 GB, free: 4.836 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.3198, allocations: 42.23 kB / 0.5307 GB, free: 4.809 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.303e-05/0.3198, allocations: 39.3 kB / 0.5307 GB, free: 4.809 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.265e-05/0.3199, allocations: 187.3 kB / 0.5309 GB, free: 4.625 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.155e-05/0.3199, allocations: 26.56 kB / 0.5309 GB, free: 4.613 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004224/0.3204, allocations: 434.1 kB / 0.5313 GB, free: 4.473 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.3204, allocations: 0 / 0.5313 GB, free: 4.473 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3204, allocations: 0 / 0.5313 GB, free: 4.473 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.3204, allocations: 0 / 0.5313 GB, free: 4.473 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003869/0.3208, allocations: 0.541 MB / 0.5319 GB, free: 4.027 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3208, allocations: 0 / 0.5319 GB, free: 4.027 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.3209, allocations: 59.56 kB / 0.5319 GB, free: 4.023 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.3209, allocations: 2.938 kB / 0.5319 GB, free: 4.023 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.3209, allocations: 8.078 kB / 0.5319 GB, free: 4.023 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001323/0.321, allocations: 0.9043 MB / 0.5328 GB, free: 3.117 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.321, allocations: 3.938 kB / 0.5328 GB, free: 3.113 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.3212, allocations: 355.5 kB / 0.5332 GB, free: 2.809 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.801e-05/0.3213, allocations: 34.36 kB / 0.5332 GB, free: 2.793 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.3213, allocations: 10.89 kB / 0.5332 GB, free: 2.785 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.3214, allocations: 14.66 kB / 0.5332 GB, free: 2.781 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/0.3214, allocations: 21.06 kB / 0.5332 GB, free: 2.773 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.3215, allocations: 27.22 kB / 0.5333 GB, free: 2.766 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.887e-05/0.3215, allocations: 175.9 kB / 0.5334 GB, free: 2.637 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3215, allocations: 3.125 kB / 0.5334 GB, free: 2.637 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003615/0.3219, allocations: 149.9 kB / 0.5336 GB, free: 2.609 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.000307/0.3222, allocations: 241.1 kB / 0.5338 GB, free: 2.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000293/0.3225, allocations: 221.9 kB / 0.534 GB, free: 2.418 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3225, allocations: 2.594 kB / 0.534 GB, free: 2.418 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.376e-05/0.3226, allocations: 78.09 kB / 0.5341 GB, free: 2.395 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.3229, allocations: 76.86 kB / 0.5342 GB, free: 2.379 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.324, allocations: 0.6979 MB / 0.5349 GB, free: 1.926 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.364e-05/0.324, allocations: 78.97 kB / 0.5349 GB, free: 1.855 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003865/0.3244, allocations: 392.5 kB / 0.5353 GB, free: 1.789 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.883e-05/0.3245, allocations: 59.11 kB / 0.5354 GB, free: 1.777 MB / 410.7 MB Notification: Performance of SimCode: time 7.62e-07/0.3245, allocations: 0 / 0.5354 GB, free: 1.777 MB / 410.7 MB Notification: Performance of Templates: time 0.005747/0.3302, allocations: 5.295 MB / 0.5405 GB, free: 136 kB / 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.6894470951519907]