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.001131/0.001131, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.0009516/0.0009516, allocations: 164.4 kB / 24.91 MB, free: 8.719 MB / 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.011/1.011, allocations: 177 MB / 205.2 MB, free: 5.445 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.2805/0.2805, allocations: 34.86 MB / 296.6 MB, free: 0.5156 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.213e-06/1.213e-06, allocations: 0 / 326 MB, free: 7.098 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057e-05/1.178e-05, allocations: 2.312 kB / 326 MB, free: 7.094 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3271/0.3271, allocations: 145.5 MB / 471.5 MB, free: 16.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003803/0.3309, allocations: 5.447 MB / 476.9 MB, free: 16.15 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.3311, allocations: 0 / 476.9 MB, free: 16.15 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003102/0.3314, allocations: 58.47 kB / 477 MB, free: 16.15 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002856/0.3342, allocations: 1.378 MB / 478.4 MB, free: 16.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.3345, allocations: 147.7 kB / 478.5 MB, free: 16.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006529/0.3351, allocations: 426 kB / 478.9 MB, free: 16.08 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.148e-05/0.3352, allocations: 12.72 kB / 478.9 MB, free: 16.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003336/0.3355, allocations: 236.5 kB / 479.2 MB, free: 16.08 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002335/0.3358, allocations: 158.1 kB / 479.3 MB, free: 16.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.3358, allocations: 9.5 kB / 479.3 MB, free: 16.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/0.3373, allocations: 1.047 MB / 480.4 MB, free: 16.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.1e-05/0.3374, allocations: 46.88 kB / 480.4 MB, free: 16.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.573e-05/0.3375, allocations: 83.92 kB / 480.5 MB, free: 16.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.3386, allocations: 0.9366 MB / 481.4 MB, free: 15.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3386, allocations: 0 / 481.4 MB, free: 15.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3386, allocations: 0 / 481.4 MB, free: 15.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.3386, allocations: 0 / 481.4 MB, free: 15.98 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.0008228/0.3394, allocations: 0.5983 MB / 482 MB, free: 15.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.3395, allocations: 10.88 kB / 482 MB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003584/0.3431, allocations: 0.7608 MB / 482.8 MB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.3433, allocations: 166.5 kB / 483 MB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.37e-05/0.3434, allocations: 226.3 kB / 483.2 MB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.922e-05/0.3435, allocations: 35.19 kB / 483.2 MB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005161/0.344, allocations: 0.6657 MB / 483.9 MB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.344, allocations: 0 / 483.9 MB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.57e-05/0.344, allocations: 10.19 kB / 483.9 MB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.3441, allocations: 7.531 kB / 483.9 MB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004467/0.3445, allocations: 372.1 kB / 484.3 MB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009888/0.3455, allocations: 1.309 MB / 485.6 MB, free: 13.83 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.3456, allocations: 106.1 kB / 485.7 MB, free: 13.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.414e-05/0.3457, allocations: 45.73 kB / 485.7 MB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005054/0.3462, allocations: 473.7 kB / 486.2 MB, free: 13.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.3462, allocations: 33.06 kB / 486.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.263e-06/0.3462, allocations: 0 / 486.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004259/0.3466, allocations: 244.3 kB / 486.5 MB, free: 13.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.542e-05/0.3466, allocations: 53.69 kB / 486.5 MB, free: 13.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.191e-05/0.3467, allocations: 190.9 kB / 486.7 MB, free: 13.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.3467, allocations: 31.36 kB / 486.7 MB, free: 13.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.014e-05/0.3468, allocations: 189.3 kB / 486.9 MB, free: 13.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.3468, allocations: 72.75 kB / 487 MB, free: 13.13 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.732e-05/0.3469, allocations: 89.94 kB / 487.1 MB, free: 13.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.238e-05/0.3469, allocations: 326.7 kB / 487.4 MB, free: 12.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.213e-05/0.347, allocations: 36.84 kB / 487.4 MB, free: 12.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.44e-05/0.3471, allocations: 235.7 kB / 487.7 MB, free: 12.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/0.3473, allocations: 328.5 kB / 488 MB, free: 12.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.3473, allocations: 10.5 kB / 488 MB, free: 12.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002871/0.3476, allocations: 272.8 kB / 488.3 MB, free: 12.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.3476, allocations: 7.656 kB / 488.3 MB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.3476, allocations: 8.688 kB / 488.3 MB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.3476, allocations: 7.969 kB / 488.3 MB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/0.3479, allocations: 119.5 kB / 488.4 MB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001479/0.348, allocations: 0.5936 MB / 489 MB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.3481, allocations: 43.77 kB / 489 MB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-05/0.3482, allocations: 45.06 kB / 489.1 MB, free: 11.63 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 7.293e-05/0.3482, allocations: 139.6 kB / 489.2 MB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.524e-05/0.3483, allocations: 21.64 kB / 489.2 MB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004017/0.3487, allocations: 412.1 kB / 489.6 MB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3487, allocations: 2.906 kB / 489.6 MB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.3487, allocations: 0 / 489.6 MB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3487, allocations: 0 / 489.6 MB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003763/0.349, allocations: 412.4 kB / 490 MB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3491, allocations: 2.406 kB / 490 MB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.3492, allocations: 51.72 kB / 490.1 MB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.3492, allocations: 10.53 kB / 490.1 MB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.3492, allocations: 8.281 kB / 490.1 MB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001107/0.3493, allocations: 0.584 MB / 490.7 MB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3493, allocations: 2.594 kB / 490.7 MB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.3494, allocations: 248.8 kB / 490.9 MB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.848e-05/0.3495, allocations: 38.31 kB / 491 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.3495, allocations: 4.844 kB / 491 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.3496, allocations: 10.17 kB / 491 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.848e-05/0.3496, allocations: 27.36 kB / 491 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.3496, allocations: 13.45 kB / 491 MB, free: 10.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.095e-05/0.3497, allocations: 56.8 kB / 491.1 MB, free: 10.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3497, allocations: 0 / 491.1 MB, free: 10.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003553/0.35, allocations: 168.4 kB / 491.3 MB, free: 10.3 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.0003495/0.3504, allocations: 267 kB / 491.5 MB, free: 10.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002345/0.3506, allocations: 181.8 kB / 491.7 MB, free: 10.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/0.3506, allocations: 6.781 kB / 491.7 MB, free: 10.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.217e-05/0.3507, allocations: 71.05 kB / 491.8 MB, free: 10.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.351, allocations: 85.83 kB / 491.9 MB, free: 10.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.3521, allocations: 0.8574 MB / 492.7 MB, free: 9.859 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.677e-05/0.3522, allocations: 73.92 kB / 492.8 MB, free: 9.789 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003979/0.3526, allocations: 376.7 kB / 493.1 MB, free: 9.738 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/0.3528, allocations: 157.1 kB / 493.3 MB, free: 9.68 MB / 410.7 MB Notification: Performance of SimCode: time 8.12e-07/0.3528, allocations: 2.656 kB / 493.3 MB, free: 9.68 MB / 410.7 MB Notification: Performance of Templates: time 0.007619/0.3604, allocations: 6.788 MB / 0.4884 GB, free: 7.211 MB / 410.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 -s gbode -gbm=radauIIA3 -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.5816704318858683]