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.00119/0.00119, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001726/0.002915, allocations: 447.8 kB / 10.35 MB, free: 348 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.001104/0.001104, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001547/0.00265, allocations: 463.6 kB / 11.69 MB, free: 2.48 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.9603/0.9603, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1723/1.133, allocations: 49.49 MB / 220.5 MB, free: 5.277 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.1285/0.1285, allocations: 32.34 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0208/0.1493, allocations: 12.3 MB / 265.9 MB, free: 7.828 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.565e-06/2.565e-06, allocations: 0 / 267.2 MB, free: 6.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.404e-05, allocations: 6.25 kB / 267.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3057/0.3057, allocations: 144.2 MB / 411.4 MB, free: 6.758 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004255/0.3099, allocations: 4.856 MB / 416.3 MB, free: 1.914 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001738/0.3101, allocations: 0 / 416.3 MB, free: 1.914 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002995/0.3104, allocations: 55.66 kB / 416.3 MB, free: 1.859 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003637/0.3141, allocations: 1.585 MB / 417.9 MB, free: 272 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.3143, allocations: 147.8 kB / 418.1 MB, free: 124 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005057/0.3148, allocations: 423.1 kB / 418.5 MB, free: 15.71 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.906e-05/0.3149, allocations: 10.47 kB / 418.5 MB, free: 15.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003073/0.3152, allocations: 243.2 kB / 418.7 MB, free: 15.46 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/0.3154, allocations: 159.7 kB / 418.9 MB, free: 15.3 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.3154, allocations: 8 kB / 418.9 MB, free: 15.3 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00225/0.3177, allocations: 1.255 MB / 420.1 MB, free: 14.04 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.153e-05/0.3178, allocations: 23.88 kB / 420.2 MB, free: 14.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.57e-05/0.3179, allocations: 67.88 kB / 420.2 MB, free: 13.95 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001354/0.3192, allocations: 0.9273 MB / 421.1 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.146e-05/0.3192, allocations: 0 / 421.1 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3192, allocations: 0 / 421.1 MB, free: 13.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.814e-05/0.3192, allocations: 0 / 421.1 MB, free: 13.02 MB / 378.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.001192/0.3204, allocations: 0.8259 MB / 422 MB, free: 12.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.3205, allocations: 8.031 kB / 422 MB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003099/0.3236, allocations: 0.7452 MB / 422.7 MB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.3239, allocations: 161.6 kB / 422.9 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.324, allocations: 226.7 kB / 423.1 MB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.056e-05/0.324, allocations: 28.36 kB / 423.1 MB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000541/0.3246, allocations: 0.6598 MB / 423.8 MB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3246, allocations: 3.938 kB / 423.8 MB, free: 10.17 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.351e-05/0.3246, allocations: 12 kB / 423.8 MB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/0.3247, allocations: 15.98 kB / 423.8 MB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004033/0.3251, allocations: 375.8 kB / 424.2 MB, free: 9.777 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.3261, allocations: 1.285 MB / 425.5 MB, free: 8.426 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.3262, allocations: 94.52 kB / 425.6 MB, free: 8.324 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.633e-05/0.3263, allocations: 51.77 kB / 425.6 MB, free: 8.273 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007384/0.327, allocations: 0.6702 MB / 426.3 MB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.327, allocations: 38.5 kB / 426.3 MB, free: 7.543 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 1.152e-06/0.327, allocations: 0 / 426.3 MB, free: 7.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004409/0.3275, allocations: 249.6 kB / 426.6 MB, free: 7.293 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.3275, allocations: 51.41 kB / 426.6 MB, free: 7.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.306e-05/0.3276, allocations: 198.3 kB / 426.8 MB, free: 7.023 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.3276, allocations: 25.7 kB / 426.8 MB, free: 6.992 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.252e-05/0.3277, allocations: 183.9 kB / 427 MB, free: 6.809 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.3277, allocations: 75.38 kB / 427.1 MB, free: 6.734 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.925e-05/0.3278, allocations: 77.97 kB / 427.2 MB, free: 6.652 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.006e-05/0.3279, allocations: 330.8 kB / 427.5 MB, free: 6.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.739e-05/0.3279, allocations: 36.72 kB / 427.5 MB, free: 6.285 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.328, allocations: 240 kB / 427.8 MB, free: 5.957 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.3282, allocations: 332.9 kB / 428.1 MB, free: 5.535 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.3282, allocations: 5.25 kB / 428.1 MB, free: 5.531 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002349/0.3285, allocations: 262.2 kB / 428.4 MB, free: 5.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.3285, allocations: 16.09 kB / 428.4 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.3285, allocations: 8 kB / 428.4 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.3285, allocations: 8 kB / 428.4 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.3287, allocations: 131.7 kB / 428.5 MB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002175/0.3289, allocations: 0.5938 MB / 429.1 MB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.3291, allocations: 43.67 kB / 429.1 MB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.3291, allocations: 35.98 kB / 429.2 MB, free: 4.414 MB / 378.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.508e-05/0.3292, allocations: 148.4 kB / 429.3 MB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.3292, allocations: 20.05 kB / 429.3 MB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003198/0.3295, allocations: 272.1 kB / 429.6 MB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3295, allocations: 0 / 429.6 MB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.3295, allocations: 4 kB / 429.6 MB, free: 3.961 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3295, allocations: 0 / 429.6 MB, free: 3.961 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002881/0.3298, allocations: 364 kB / 430 MB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.3298, allocations: 4 kB / 430 MB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.3299, allocations: 55.89 kB / 430 MB, free: 3.508 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.935e-05/0.33, allocations: 24.77 kB / 430.1 MB, free: 3.484 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.33, allocations: 4 kB / 430.1 MB, free: 3.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.33, allocations: 4 kB / 430.1 MB, free: 3.477 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001851/0.3302, allocations: 0.586 MB / 430.6 MB, free: 2.867 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.3302, allocations: 4 kB / 430.7 MB, free: 2.863 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.3303, allocations: 231.8 kB / 430.9 MB, free: 2.605 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.3303, allocations: 4 kB / 430.9 MB, free: 2.602 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.804e-05/0.3304, allocations: 17.17 kB / 430.9 MB, free: 2.586 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.228e-05/0.3305, allocations: 15.92 kB / 430.9 MB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.3305, allocations: 15.98 kB / 430.9 MB, free: 2.555 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.802e-05/0.3305, allocations: 56.52 kB / 431 MB, free: 2.496 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3305, allocations: 0 / 431 MB, free: 2.496 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004015/0.3309, allocations: 207.5 kB / 431.2 MB, free: 2.293 MB / 378.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.0006003/0.3315, allocations: 390.2 kB / 431.6 MB, free: 1.922 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002518/0.3318, allocations: 197.5 kB / 431.8 MB, free: 1.727 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/0.3318, allocations: 4 kB / 431.8 MB, free: 1.723 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.237e-05/0.3319, allocations: 73.55 kB / 431.8 MB, free: 1.645 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.3322, allocations: 112.4 kB / 431.9 MB, free: 1.535 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004543/0.3367, allocations: 1.954 MB / 433.9 MB, free: 15.54 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.131e-05/0.3367, allocations: 72.59 kB / 434 MB, free: 15.45 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002314/0.337, allocations: 106.1 kB / 434.1 MB, free: 15.35 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/0.3372, allocations: 135.3 kB / 434.2 MB, free: 15.22 MB / 394.7 MB Notification: Performance of SimCode: time 7.11e-07/0.3372, allocations: 0 / 434.2 MB, free: 15.22 MB / 394.7 MB Notification: Performance of Templates: time 0.009193/0.3464, allocations: 8.055 MB / 442.3 MB, free: 7.215 MB / 394.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,rangeDelta=0.001) [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.683334331959486]