Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.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.001373/0.001373, 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.001356/0.001356, 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 1.001/1.001, allocations: 177 MB / 204.8 MB, free: 5.594 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.2944/0.2944, allocations: 34.86 MB / 296.3 MB, free: 0.5391 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.CO2,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.CO2") translateModel(ModelicaTest.Media.TestAllProperties.CO2,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.CO2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.639e-05, allocations: 3.156 kB / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.2971/0.2971, allocations: 146 MB / 0.5125 GB, free: 16.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003876/0.301, allocations: 5.424 MB / 0.5178 GB, free: 12.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.3011, allocations: 2.969 kB / 0.5178 GB, free: 12.91 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002782/0.3014, allocations: 62.2 kB / 0.5179 GB, free: 12.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002825/0.3042, allocations: 1.392 MB / 0.5193 GB, free: 12.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.3045, allocations: 148.9 kB / 0.5194 GB, free: 12.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004341/0.3049, allocations: 428.3 kB / 0.5198 GB, free: 11.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.29e-05/0.3049, allocations: 7.531 kB / 0.5198 GB, free: 11.84 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002868/0.3052, allocations: 242.9 kB / 0.5201 GB, free: 11.75 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.3055, allocations: 150.7 kB / 0.5202 GB, free: 11.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.215e-05/0.3055, allocations: 10.25 kB / 0.5202 GB, free: 11.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001694/0.3072, allocations: 0.9975 MB / 0.5212 GB, free: 11.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.442e-05/0.3072, allocations: 46.19 kB / 0.5212 GB, free: 11.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8e-05/0.3073, allocations: 81.62 kB / 0.5213 GB, free: 11.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001263/0.3086, allocations: 0.9371 MB / 0.5222 GB, free: 11.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3086, allocations: 0 / 0.5222 GB, free: 11.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3086, allocations: 0 / 0.5222 GB, free: 11.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.3086, allocations: 3.938 kB / 0.5222 GB, free: 11.03 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.0008954/0.3095, allocations: 0.7242 MB / 0.5229 GB, free: 10.49 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.3095, allocations: 9.062 kB / 0.5229 GB, free: 10.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003542/0.3131, allocations: 0.6588 MB / 0.5236 GB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.3134, allocations: 204.7 kB / 0.5238 GB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.003e-05/0.3135, allocations: 228.9 kB / 0.524 GB, free: 9.957 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.766e-05/0.3135, allocations: 28.59 kB / 0.524 GB, free: 9.945 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006266/0.3141, allocations: 0.7388 MB / 0.5247 GB, free: 9.504 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3142, allocations: 0 / 0.5247 GB, free: 9.504 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.939e-05/0.3142, allocations: 17.41 kB / 0.5248 GB, free: 9.492 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.353e-05/0.3142, allocations: 11.19 kB / 0.5248 GB, free: 9.492 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005637/0.3148, allocations: 0.5093 MB / 0.5253 GB, free: 9.434 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.3159, allocations: 1.812 MB / 0.527 GB, free: 7.852 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.3161, allocations: 138.1 kB / 0.5272 GB, free: 7.793 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.737e-05/0.3161, allocations: 64.5 kB / 0.5272 GB, free: 7.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005317/0.3167, allocations: 0.527 MB / 0.5277 GB, free: 7.465 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.3167, allocations: 36.59 kB / 0.5278 GB, free: 7.422 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.633e-06/0.3167, allocations: 0 / 0.5278 GB, free: 7.422 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=19): time 0.0005684/0.3173, allocations: 313.8 kB / 0.5281 GB, free: 7.328 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.769e-05/0.3173, allocations: 58.34 kB / 0.5281 GB, free: 7.262 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.736e-05/0.3174, allocations: 256.5 kB / 0.5284 GB, free: 7.055 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.3174, allocations: 28.23 kB / 0.5284 GB, free: 7.023 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.315e-05/0.3174, allocations: 235.7 kB / 0.5286 GB, free: 6.809 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.3175, allocations: 73.09 kB / 0.5287 GB, free: 6.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.606e-05/0.3175, allocations: 98.69 kB / 0.5288 GB, free: 6.699 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.428e-05/0.3176, allocations: 0.4995 MB / 0.5293 GB, free: 6.195 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.569e-05/0.3177, allocations: 55.27 kB / 0.5293 GB, free: 6.188 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.3178, allocations: 337.5 kB / 0.5297 GB, free: 5.805 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.318, allocations: 423.5 kB / 0.5301 GB, free: 5.367 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.318, allocations: 2.594 kB / 0.5301 GB, free: 5.367 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003356/0.3183, allocations: 373.4 kB / 0.5304 GB, free: 5.219 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.3184, allocations: 8.062 kB / 0.5304 GB, free: 5.219 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.3184, allocations: 6.312 kB / 0.5304 GB, free: 5.219 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3184, allocations: 10.56 kB / 0.5304 GB, free: 5.219 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.3186, allocations: 122.1 kB / 0.5306 GB, free: 5.211 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001912/0.3188, allocations: 0.9135 MB / 0.5315 GB, free: 4.301 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.3189, allocations: 50.11 kB / 0.5315 GB, free: 4.266 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.319, allocations: 40.61 kB / 0.5315 GB, free: 4.262 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.21e-05/0.3191, allocations: 189.5 kB / 0.5317 GB, free: 4.074 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.206e-05/0.3191, allocations: 33.52 kB / 0.5318 GB, free: 4.059 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004567/0.3196, allocations: 445.8 kB / 0.5322 GB, free: 3.906 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3196, allocations: 2.969 kB / 0.5322 GB, free: 3.906 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3196, allocations: 0 / 0.5322 GB, free: 3.906 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/0.3196, allocations: 6.578 kB / 0.5322 GB, free: 3.902 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005709/0.3201, allocations: 0.5506 MB / 0.5327 GB, free: 3.441 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.3201, allocations: 5.75 kB / 0.5327 GB, free: 3.441 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.3203, allocations: 57.67 kB / 0.5328 GB, free: 3.434 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.3203, allocations: 3.094 kB / 0.5328 GB, free: 3.434 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.3203, allocations: 8.484 kB / 0.5328 GB, free: 3.434 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001453/0.3204, allocations: 0.9123 MB / 0.5337 GB, free: 2.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3204, allocations: 2.656 kB / 0.5337 GB, free: 2.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.3206, allocations: 368.4 kB / 0.534 GB, free: 2.199 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.414e-05/0.3207, allocations: 25.98 kB / 0.5341 GB, free: 2.191 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.3207, allocations: 7 kB / 0.5341 GB, free: 2.188 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.3208, allocations: 14.44 kB / 0.5341 GB, free: 2.188 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.978e-05/0.3208, allocations: 25.05 kB / 0.5341 GB, free: 2.176 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.3209, allocations: 16.28 kB / 0.5341 GB, free: 2.176 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.921e-05/0.3209, allocations: 186.6 kB / 0.5343 GB, free: 2.039 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3209, allocations: 0 / 0.5343 GB, free: 2.039 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000475/0.3214, allocations: 167.3 kB / 0.5345 GB, free: 2.004 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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.0003988/0.3218, allocations: 282.3 kB / 0.5347 GB, free: 1.859 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003203/0.3221, allocations: 221.3 kB / 0.5349 GB, free: 1.797 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3221, allocations: 0 / 0.5349 GB, free: 1.797 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.492e-05/0.3222, allocations: 84.66 kB / 0.535 GB, free: 1.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.3226, allocations: 84.52 kB / 0.5351 GB, free: 1.746 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.3239, allocations: 0.8841 MB / 0.536 GB, free: 1.199 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.463e-05/0.3239, allocations: 73.48 kB / 0.536 GB, free: 1.129 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003903/0.3243, allocations: 376.3 kB / 0.5364 GB, free: 1.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.3244, allocations: 55.64 kB / 0.5364 GB, free: 1.059 MB / 410.7 MB Notification: Performance of SimCode: time 1.483e-06/0.3244, allocations: 0 / 0.5364 GB, free: 1.059 MB / 410.7 MB Notification: Performance of Templates: time 0.008173/0.3326, allocations: 6.778 MB / 0.5431 GB, free: 14.53 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.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.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7792849158868194]