Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0009258/0.0009258, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003991/0.004917, allocations: 449.7 kB / 10.37 MB, free: 328 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.001101/0.001101, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001576/0.002677, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9578/0.9578, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08121/1.039, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2539/0.2539, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02346/0.2774, allocations: 13.1 MB / 291.3 MB, free: 7.367 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.Media.TestAllProperties.CO2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 292.6 MB, free: 6.281 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.101e-05/1.245e-05, allocations: 3.188 kB / 292.7 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1503/0.1503, allocations: 145.9 MB / 438.6 MB, free: 3.805 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1942/0.3444, allocations: 5.449 MB / 444 MB, free: 3.637 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.3446, allocations: 7.25 kB / 444 MB, free: 3.637 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000199/0.3448, allocations: 49.12 kB / 444.1 MB, free: 3.637 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003122/0.3479, allocations: 1.369 MB / 445.4 MB, free: 3.609 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002706/0.3482, allocations: 151.1 kB / 445.6 MB, free: 3.609 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005376/0.3487, allocations: 424 kB / 446 MB, free: 3.609 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.912e-05/0.3488, allocations: 14.2 kB / 446 MB, free: 3.605 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003283/0.3491, allocations: 240.4 kB / 446.2 MB, free: 3.605 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.3493, allocations: 154.3 kB / 446.4 MB, free: 3.605 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.85e-05/0.3494, allocations: 10.66 kB / 446.4 MB, free: 3.605 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001742/0.3511, allocations: 1.058 MB / 447.5 MB, free: 3.574 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.692e-05/0.3512, allocations: 27.89 kB / 447.5 MB, free: 3.574 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 7.993e-05/0.3512, allocations: 66.45 kB / 447.6 MB, free: 3.574 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001583/0.3528, allocations: 0.8178 MB / 448.4 MB, free: 3.52 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.25e-05/0.3529, allocations: 1 kB / 448.4 MB, free: 3.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3529, allocations: 0 / 448.4 MB, free: 3.52 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.169e-05/0.3529, allocations: 0 / 448.4 MB, free: 3.52 MB / 426.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.002018/0.3549, allocations: 0.7901 MB / 449.2 MB, free: 19.07 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.3549, allocations: 9.781 kB / 449.2 MB, free: 19.07 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003392/0.3583, allocations: 0.7574 MB / 449.9 MB, free: 19 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.3587, allocations: 164.9 kB / 450.1 MB, free: 18.87 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.3588, allocations: 232.3 kB / 450.3 MB, free: 18.62 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.811e-05/0.3588, allocations: 20.88 kB / 450.3 MB, free: 18.62 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005655/0.3594, allocations: 0.6644 MB / 451 MB, free: 18.26 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.3594, allocations: 7.5 kB / 451 MB, free: 18.26 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.742e-05/0.3595, allocations: 11.72 kB / 451 MB, free: 18.26 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.119e-05/0.3595, allocations: 6.219 kB / 451 MB, free: 18.26 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004326/0.3599, allocations: 374.5 kB / 451.4 MB, free: 18.25 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.3611, allocations: 1.303 MB / 452.7 MB, free: 17.3 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.3613, allocations: 105.7 kB / 452.8 MB, free: 17.27 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.595e-05/0.3613, allocations: 44.66 kB / 452.8 MB, free: 17.26 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006311/0.3619, allocations: 473.8 kB / 453.3 MB, free: 17.11 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.362, allocations: 38.05 kB / 453.3 MB, free: 17.07 MB / 442.7 MB Notification: Performance of pre-optimization done (n=19): time 1.412e-06/0.362, allocations: 0.8438 kB / 453.3 MB, free: 17.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004528/0.3624, allocations: 246.8 kB / 453.6 MB, free: 17.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.3624, allocations: 51.41 kB / 453.6 MB, free: 16.96 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.3625, allocations: 200.9 kB / 453.8 MB, free: 16.84 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.3626, allocations: 31.98 kB / 453.9 MB, free: 16.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.051e-05/0.3626, allocations: 187.9 kB / 454 MB, free: 16.65 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.3627, allocations: 74.59 kB / 454.1 MB, free: 16.6 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.366e-05/0.3627, allocations: 86.41 kB / 454.2 MB, free: 16.58 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.631e-05/0.3628, allocations: 329.2 kB / 454.5 MB, free: 16.27 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.784e-05/0.3629, allocations: 33.83 kB / 454.6 MB, free: 16.27 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.363, allocations: 242.9 kB / 454.8 MB, free: 16.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/0.3632, allocations: 328.7 kB / 455.1 MB, free: 15.78 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.3632, allocations: 3.219 kB / 455.1 MB, free: 15.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002446/0.3634, allocations: 266.8 kB / 455.4 MB, free: 15.74 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3634, allocations: 10.98 kB / 455.4 MB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.3634, allocations: 8.281 kB / 455.4 MB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.3635, allocations: 10.16 kB / 455.4 MB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/0.3637, allocations: 131.8 kB / 455.5 MB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000243/0.364, allocations: 0.5925 MB / 456.1 MB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.3641, allocations: 45.36 kB / 456.2 MB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-05/0.3641, allocations: 39.44 kB / 456.2 MB, free: 15.14 MB / 442.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.922e-05/0.3642, allocations: 145.3 kB / 456.4 MB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.636e-05/0.3643, allocations: 19.42 kB / 456.4 MB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004484/0.3647, allocations: 408.6 kB / 456.8 MB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3647, allocations: 0 / 456.8 MB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.3647, allocations: 1.094 kB / 456.8 MB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.3647, allocations: 3.719 kB / 456.8 MB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004697/0.3652, allocations: 420.2 kB / 457.2 MB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.3652, allocations: 2 kB / 457.2 MB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.3653, allocations: 58.34 kB / 457.2 MB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.844e-05/0.3653, allocations: 29.81 kB / 457.3 MB, free: 14.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.3653, allocations: 8.25 kB / 457.3 MB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.3654, allocations: 7.953 kB / 457.3 MB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001825/0.3655, allocations: 0.5853 MB / 457.9 MB, free: 14.08 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.3655, allocations: 2.75 kB / 457.9 MB, free: 14.08 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.3657, allocations: 255.5 kB / 458.1 MB, free: 13.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.3657, allocations: 7.844 kB / 458.1 MB, free: 13.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.3658, allocations: 11.86 kB / 458.1 MB, free: 13.88 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.631e-05/0.3658, allocations: 27.22 kB / 458.2 MB, free: 13.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.3659, allocations: 14.81 kB / 458.2 MB, free: 13.88 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.264e-05/0.3659, allocations: 55.89 kB / 458.2 MB, free: 13.86 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3659, allocations: 0 / 458.2 MB, free: 13.86 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004829/0.3664, allocations: 170.9 kB / 458.4 MB, free: 13.84 MB / 442.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.0004208/0.3668, allocations: 268.5 kB / 458.7 MB, free: 13.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002584/0.3671, allocations: 201.7 kB / 458.9 MB, free: 13.73 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/0.3671, allocations: 5.125 kB / 458.9 MB, free: 13.73 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.284e-05/0.3672, allocations: 70.8 kB / 458.9 MB, free: 13.71 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.3675, allocations: 112.1 kB / 459.1 MB, free: 13.71 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003588/0.371, allocations: 0.8684 MB / 459.9 MB, free: 13.43 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.021e-05/0.3711, allocations: 73.7 kB / 460 MB, free: 13.36 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000384/0.3715, allocations: 385.9 kB / 460.4 MB, free: 13.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.3717, allocations: 153.5 kB / 460.5 MB, free: 13.27 MB / 442.7 MB Notification: Performance of SimCode: time 9.32e-07/0.3717, allocations: 1 kB / 460.5 MB, free: 13.27 MB / 442.7 MB Notification: Performance of Templates: time 0.007969/0.3796, allocations: 6.91 MB / 467.4 MB, free: 12.73 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_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.6412359811365604]