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.0008923/0.0008923, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0008999/0.0008999, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9774/0.9774, allocations: 177 MB / 204.8 MB, free: 5.59 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.2532/0.2532, allocations: 34.86 MB / 296.3 MB, free: 488 kB / 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.763e-06/1.763e-06, allocations: 0 / 378.8 MB, free: 2.043 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.417e-05/3.594e-05, allocations: 3.297 kB / 378.8 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.3132/0.3133, allocations: 146 MB / 0.5125 GB, free: 16.53 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004211/0.3175, allocations: 5.232 MB / 0.5176 GB, free: 13.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.3176, allocations: 2.438 kB / 0.5176 GB, free: 13.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003242/0.3179, allocations: 55.28 kB / 0.5177 GB, free: 12.99 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002837/0.3208, allocations: 1.281 MB / 0.5189 GB, free: 12.3 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.321, allocations: 144.7 kB / 0.5191 GB, free: 12.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003891/0.3214, allocations: 417.4 kB / 0.5195 GB, free: 12.03 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.791e-05/0.3214, allocations: 9.047 kB / 0.5195 GB, free: 12.03 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002423/0.3217, allocations: 238.2 kB / 0.5197 GB, free: 11.94 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.3219, allocations: 159.6 kB / 0.5199 GB, free: 11.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.3219, allocations: 8.281 kB / 0.5199 GB, free: 11.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001092/0.323, allocations: 0.9447 MB / 0.5208 GB, free: 11.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.006e-05/0.3231, allocations: 52.62 kB / 0.5208 GB, free: 11.58 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.033e-05/0.3231, allocations: 79.86 kB / 0.5209 GB, free: 11.56 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009293/0.3241, allocations: 0.9334 MB / 0.5218 GB, free: 11.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.3241, allocations: 0 / 0.5218 GB, free: 11.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3241, allocations: 2.688 kB / 0.5218 GB, free: 11.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3241, allocations: 0 / 0.5218 GB, free: 11.25 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.0008894/0.325, allocations: 0.716 MB / 0.5225 GB, free: 10.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.325, allocations: 10.81 kB / 0.5225 GB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003758/0.3287, allocations: 0.6637 MB / 0.5232 GB, free: 10.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.3291, allocations: 205.2 kB / 0.5234 GB, free: 10.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.886e-05/0.3291, allocations: 229.8 kB / 0.5236 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.066e-05/0.3292, allocations: 28.97 kB / 0.5236 GB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006332/0.3298, allocations: 0.7413 MB / 0.5244 GB, free: 9.723 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.3299, allocations: 0 / 0.5244 GB, free: 9.723 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.23e-05/0.3299, allocations: 10.84 kB / 0.5244 GB, free: 9.715 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/0.3299, allocations: 8.562 kB / 0.5244 GB, free: 9.715 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005789/0.3305, allocations: 0.5193 MB / 0.5249 GB, free: 9.648 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.3316, allocations: 1.811 MB / 0.5267 GB, free: 8.062 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.3318, allocations: 141.1 kB / 0.5268 GB, free: 8.004 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.958e-05/0.3319, allocations: 60.3 kB / 0.5268 GB, free: 7.984 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002896/0.3321, allocations: 462 kB / 0.5273 GB, free: 7.609 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.3322, allocations: 41.33 kB / 0.5273 GB, free: 7.559 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.303e-06/0.3322, allocations: 0 / 0.5273 GB, free: 7.559 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.0006169/0.3328, allocations: 298.5 kB / 0.5276 GB, free: 7.477 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.395e-05/0.3328, allocations: 54.16 kB / 0.5277 GB, free: 7.414 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.3329, allocations: 263.7 kB / 0.5279 GB, free: 7.203 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.3329, allocations: 28.39 kB / 0.5279 GB, free: 7.172 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.924e-05/0.333, allocations: 246.2 kB / 0.5282 GB, free: 6.949 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.3331, allocations: 65.11 kB / 0.5282 GB, free: 6.898 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.37e-05/0.3331, allocations: 101.7 kB / 0.5283 GB, free: 6.848 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.633e-05/0.3332, allocations: 0.5032 MB / 0.5288 GB, free: 6.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.941e-05/0.3333, allocations: 54.88 kB / 0.5289 GB, free: 6.336 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.3334, allocations: 341.4 kB / 0.5292 GB, free: 5.949 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/0.3337, allocations: 419.8 kB / 0.5296 GB, free: 5.516 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3337, allocations: 0 / 0.5296 GB, free: 5.516 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003584/0.334, allocations: 377.9 kB / 0.53 GB, free: 5.367 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.334, allocations: 8.156 kB / 0.53 GB, free: 5.367 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.3341, allocations: 6.219 kB / 0.53 GB, free: 5.367 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/0.3341, allocations: 11.09 kB / 0.53 GB, free: 5.367 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/0.3343, allocations: 123.5 kB / 0.5301 GB, free: 5.355 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002028/0.3345, allocations: 0.9179 MB / 0.531 GB, free: 4.441 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.3346, allocations: 41.05 kB / 0.531 GB, free: 4.418 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.861e-05/0.3347, allocations: 44.66 kB / 0.5311 GB, free: 4.41 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.079e-05/0.3348, allocations: 194 kB / 0.5313 GB, free: 4.223 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.065e-05/0.3348, allocations: 19.38 kB / 0.5313 GB, free: 4.215 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004457/0.3353, allocations: 424.1 kB / 0.5317 GB, free: 4.082 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3353, allocations: 0 / 0.5317 GB, free: 4.082 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3353, allocations: 2.562 kB / 0.5317 GB, free: 4.082 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.3353, allocations: 3.984 kB / 0.5317 GB, free: 4.078 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003897/0.3357, allocations: 0.5397 MB / 0.5322 GB, free: 3.633 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3357, allocations: 0 / 0.5322 GB, free: 3.633 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.3358, allocations: 58.92 kB / 0.5323 GB, free: 3.629 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.3358, allocations: 2.906 kB / 0.5323 GB, free: 3.629 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.3358, allocations: 16.83 kB / 0.5323 GB, free: 3.621 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001403/0.3359, allocations: 0.8978 MB / 0.5332 GB, free: 2.719 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.3359, allocations: 13.38 kB / 0.5332 GB, free: 2.711 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.3361, allocations: 356.7 kB / 0.5335 GB, free: 2.402 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.328e-05/0.3361, allocations: 38.8 kB / 0.5336 GB, free: 2.383 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/0.3362, allocations: 6.766 kB / 0.5336 GB, free: 2.379 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.3363, allocations: 16.17 kB / 0.5336 GB, free: 2.375 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.931e-05/0.3363, allocations: 24.2 kB / 0.5336 GB, free: 2.363 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.3363, allocations: 16.84 kB / 0.5336 GB, free: 2.363 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.492e-05/0.3364, allocations: 180.1 kB / 0.5338 GB, free: 2.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3364, allocations: 0 / 0.5338 GB, free: 2.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000388/0.3368, allocations: 152.9 kB / 0.5339 GB, free: 2.203 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.0003204/0.3371, allocations: 242.3 kB / 0.5342 GB, free: 2.074 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003078/0.3374, allocations: 214.9 kB / 0.5344 GB, free: 2.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3374, allocations: 0 / 0.5344 GB, free: 2.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.017e-05/0.3375, allocations: 81.33 kB / 0.5345 GB, free: 1.992 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.3378, allocations: 81.64 kB / 0.5345 GB, free: 1.977 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.339, allocations: 0.6927 MB / 0.5352 GB, free: 1.531 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.586e-05/0.339, allocations: 80.12 kB / 0.5353 GB, free: 1.457 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003948/0.3394, allocations: 389.9 kB / 0.5357 GB, free: 1.395 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.3395, allocations: 64.33 kB / 0.5357 GB, free: 1.379 MB / 410.7 MB Notification: Performance of SimCode: time 9.72e-07/0.3395, allocations: 3.031 kB / 0.5357 GB, free: 1.379 MB / 410.7 MB Notification: Performance of Templates: time 0.006244/0.3457, allocations: 5.264 MB / 0.5409 GB, free: 15.8 MB / 426.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.658232305664569]