Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.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.0008572/0.0008572, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001109/0.001966, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.0007002/0.0007002, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009214/0.001622, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8503/0.8503, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1785/1.029, allocations: 49.5 MB / 220.7 MB, free: 1.363 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1342/0.1342, allocations: 32.35 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02426/0.1585, allocations: 12.31 MB / 266.1 MB, free: 3.879 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.CO2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.165e-06/2.165e-06, allocations: 0 / 267.4 MB, free: 2.531 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.622e-05/1.839e-05, allocations: 6.25 kB / 267.4 MB, free: 2.523 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3074/0.3074, allocations: 144.2 MB / 411.6 MB, free: 7.477 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.006317/0.3137, allocations: 4.845 MB / 416.4 MB, free: 2.645 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.3139, allocations: 0 / 416.4 MB, free: 2.645 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002816/0.3142, allocations: 51.62 kB / 416.5 MB, free: 2.594 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004784/0.319, allocations: 1.589 MB / 418.1 MB, free: 0.9961 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003568/0.3193, allocations: 147.7 kB / 418.2 MB, free: 0.8516 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00068/0.32, allocations: 430.5 kB / 418.7 MB, free: 440 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.916e-05/0.3201, allocations: 12.09 kB / 418.7 MB, free: 432 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004436/0.3205, allocations: 239.3 kB / 418.9 MB, free: 192 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000348/0.3209, allocations: 155.6 kB / 419 MB, free: 36 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.045e-05/0.3209, allocations: 8 kB / 419.1 MB, free: 28 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002605/0.3235, allocations: 1.251 MB / 420.3 MB, free: 14.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.922e-05/0.3236, allocations: 31.86 kB / 420.3 MB, free: 14.74 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.313e-05/0.3237, allocations: 67.88 kB / 420.4 MB, free: 14.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001498/0.3252, allocations: 0.9234 MB / 421.3 MB, free: 13.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.572e-05/0.3252, allocations: 0 / 421.3 MB, free: 13.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3252, allocations: 0 / 421.3 MB, free: 13.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.3252, allocations: 0 / 421.3 MB, free: 13.75 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.001324/0.3265, allocations: 0.8285 MB / 422.2 MB, free: 12.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.3266, allocations: 12.03 kB / 422.2 MB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003539/0.3301, allocations: 0.7374 MB / 422.9 MB, free: 12.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003596/0.3305, allocations: 169.5 kB / 423.1 MB, free: 11.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.3306, allocations: 226.7 kB / 423.3 MB, free: 11.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.239e-05/0.3307, allocations: 28.38 kB / 423.3 MB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005826/0.3312, allocations: 0.6597 MB / 424 MB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3313, allocations: 3.984 kB / 424 MB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.514e-05/0.3313, allocations: 12 kB / 424 MB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.648e-05/0.3313, allocations: 8 kB / 424 MB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004334/0.3318, allocations: 371.8 kB / 424.4 MB, free: 10.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.3329, allocations: 1.282 MB / 425.6 MB, free: 9.168 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.3331, allocations: 98.52 kB / 425.7 MB, free: 9.062 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.889e-05/0.3331, allocations: 48.83 kB / 425.8 MB, free: 9.012 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008051/0.3339, allocations: 0.6779 MB / 426.5 MB, free: 8.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.334, allocations: 42.5 kB / 426.5 MB, free: 8.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 2.534e-06/0.334, allocations: 0 / 426.5 MB, free: 8.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0007801/0.3348, allocations: 404.7 kB / 426.9 MB, free: 7.871 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.3348, allocations: 59.39 kB / 427 MB, free: 7.801 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.3349, allocations: 186.3 kB / 427.1 MB, free: 7.605 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.3349, allocations: 33.7 kB / 427.2 MB, free: 7.566 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.262e-05/0.335, allocations: 187.8 kB / 427.4 MB, free: 7.379 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.335, allocations: 79.31 kB / 427.4 MB, free: 7.301 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.618e-05/0.3351, allocations: 81.97 kB / 427.5 MB, free: 7.215 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.282e-05/0.3352, allocations: 326.8 kB / 427.8 MB, free: 6.887 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.562e-05/0.3352, allocations: 40.72 kB / 427.9 MB, free: 6.848 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.3354, allocations: 233.2 kB / 428.1 MB, free: 6.527 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.3356, allocations: 340.9 kB / 428.4 MB, free: 6.098 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.3356, allocations: 4 kB / 428.4 MB, free: 6.094 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002532/0.3359, allocations: 265.4 kB / 428.7 MB, free: 5.828 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.3359, allocations: 12.88 kB / 428.7 MB, free: 5.816 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.3359, allocations: 8 kB / 428.7 MB, free: 5.809 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.3359, allocations: 12 kB / 428.7 MB, free: 5.797 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002568/0.3362, allocations: 123.9 kB / 428.9 MB, free: 5.676 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005537/0.3367, allocations: 0.5976 MB / 429.5 MB, free: 5.055 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.3368, allocations: 43.67 kB / 429.5 MB, free: 5.012 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.373e-05/0.3369, allocations: 35.98 kB / 429.5 MB, free: 4.977 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 9.675e-05/0.337, allocations: 144.4 kB / 429.7 MB, free: 4.824 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/0.337, allocations: 18.86 kB / 429.7 MB, free: 4.809 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003506/0.3374, allocations: 277 kB / 430 MB, free: 4.531 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.3374, allocations: 4 kB / 430 MB, free: 4.527 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.3374, allocations: 0 / 430 MB, free: 4.527 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.3374, allocations: 7.922 kB / 430 MB, free: 4.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000337/0.3377, allocations: 362.6 kB / 430.3 MB, free: 4.125 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.3377, allocations: 9.031 kB / 430.3 MB, free: 4.117 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.3378, allocations: 51.95 kB / 430.4 MB, free: 4.066 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.687e-05/0.3379, allocations: 23.89 kB / 430.4 MB, free: 4.043 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.3379, allocations: 4 kB / 430.4 MB, free: 4.039 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.3379, allocations: 4 kB / 430.4 MB, free: 4.035 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001976/0.3381, allocations: 0.5914 MB / 431 MB, free: 3.422 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.3381, allocations: 5.312 kB / 431 MB, free: 3.418 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.3383, allocations: 231.6 kB / 431.2 MB, free: 3.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.3383, allocations: 64 / 431.2 MB, free: 3.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.3384, allocations: 19.98 kB / 431.3 MB, free: 3.141 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.398e-05/0.3384, allocations: 11.97 kB / 431.3 MB, free: 3.129 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.3384, allocations: 19.98 kB / 431.3 MB, free: 3.109 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.245e-05/0.3385, allocations: 52.53 kB / 431.3 MB, free: 3.055 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3385, allocations: 0 / 431.3 MB, free: 3.055 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000479/0.339, allocations: 203.5 kB / 431.5 MB, free: 2.855 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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.0007217/0.3397, allocations: 384.7 kB / 431.9 MB, free: 2.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002849/0.34, allocations: 201 kB / 432.1 MB, free: 2.281 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.37e-05/0.34, allocations: 4.375 kB / 432.1 MB, free: 2.277 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.3401, allocations: 93.58 kB / 432.2 MB, free: 2.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.3405, allocations: 269.9 kB / 432.5 MB, free: 1.895 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004653/0.3451, allocations: 1.943 MB / 434.4 MB, free: 15.91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.329e-05/0.3452, allocations: 72.33 kB / 434.5 MB, free: 15.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002332/0.3454, allocations: 94.22 kB / 434.6 MB, free: 15.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/0.3456, allocations: 135.3 kB / 434.7 MB, free: 15.59 MB / 426.7 MB Notification: Performance of SimCode: time 1.272e-06/0.3456, allocations: 0 / 434.7 MB, free: 15.59 MB / 426.7 MB Notification: Performance of Templates: time 0.009801/0.3554, allocations: 7.84 MB / 442.6 MB, free: 7.805 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " [Timeout remaining time 660] Not compared, constant in the reference and not in the result: eps Reference file matches [Calling sys.exit(0), Time elapsed: 3.590941878966987]