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.001952/0.001952, allocations: 111.5 kB / 18.45 MB, free: 4.621 MB / 14.72 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.002377/0.002377, allocations: 208.3 kB / 21.41 MB, free: 1.668 MB / 14.72 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 1.517/1.517, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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.2336/0.2336, allocations: 46.92 MB / 357.8 MB, free: 10.31 MB / 286.1 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.1.|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.1.|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 0.003011/0.003011, allocations: 63.91 kB / 0.4921 GB, free: 7.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1354, allocations: 65.99 MB / 0.5565 GB, free: 5.32 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4861/0.6215, allocations: 153.5 MB / 0.7064 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006498/0.628, allocations: 5.328 MB / 0.7116 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001384/0.6281, allocations: 0 / 0.7116 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003147/0.6284, allocations: 55.59 kB / 0.7117 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003893/0.6323, allocations: 1.329 MB / 0.713 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003603/0.6327, allocations: 135.7 kB / 0.7131 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006319/0.6333, allocations: 398.1 kB / 0.7135 GB, free: 392 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.176e-05/0.6334, allocations: 14.92 kB / 0.7135 GB, free: 380 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002793/0.6336, allocations: 175.3 kB / 0.7137 GB, free: 204 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002992/0.6339, allocations: 175.5 kB / 0.7138 GB, free: 28 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.818e-05/0.634, allocations: 8 kB / 0.7138 GB, free: 20 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002408/0.6364, allocations: 1.111 MB / 0.7149 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.974e-05/0.6365, allocations: 47.64 kB / 0.715 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.6366, allocations: 115.5 kB / 0.7151 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001544/0.6382, allocations: 0.861 MB / 0.7159 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.6382, allocations: 4 kB / 0.7159 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.293e-06/0.6382, allocations: 0 / 0.7159 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.6382, allocations: 0 / 0.7159 GB, free: 13.88 MB / 0.5294 GB 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.001462/0.6396, allocations: 0.6931 MB / 0.7166 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.6397, allocations: 17.47 kB / 0.7166 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008468/0.6481, allocations: 0.602 MB / 0.7172 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006671/0.6488, allocations: 271.7 kB / 0.7175 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001703/0.649, allocations: 127.3 kB / 0.7176 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.58e-05/0.6491, allocations: 20 kB / 0.7176 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.6504, allocations: 0.5595 MB / 0.7181 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.6504, allocations: 0 / 0.7181 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-05/0.6505, allocations: 15.98 kB / 0.7182 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/0.6505, allocations: 8 kB / 0.7182 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001633/0.6521, allocations: 0.6338 MB / 0.7188 GB, free: 10.79 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002422/0.6546, allocations: 1.719 MB / 0.7205 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003937/0.655, allocations: 142.5 kB / 0.7206 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.6551, allocations: 72.88 kB / 0.7207 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001686/0.6568, allocations: 1.483 MB / 0.7221 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.6568, allocations: 30.56 kB / 0.7222 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 1.664e-06/0.6568, allocations: 0 / 0.7222 GB, free: 6.918 MB / 0.5294 GB 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.001073/0.6579, allocations: 332.4 kB / 0.7225 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.658, allocations: 55.41 kB / 0.7225 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.6581, allocations: 186.5 kB / 0.7227 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.6582, allocations: 25.7 kB / 0.7227 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.6583, allocations: 191.8 kB / 0.7229 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.606e-05/0.6584, allocations: 75.42 kB / 0.723 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.6585, allocations: 94 kB / 0.7231 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.6587, allocations: 326.8 kB / 0.7234 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.6588, allocations: 68.7 kB / 0.7234 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003145/0.6591, allocations: 267.8 kB / 0.7237 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005185/0.6597, allocations: 371.4 kB / 0.7241 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.6597, allocations: 4 kB / 0.7241 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006916/0.6604, allocations: 369.2 kB / 0.7244 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.6604, allocations: 9.719 kB / 0.7244 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.6604, allocations: 7.938 kB / 0.7244 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.6604, allocations: 12 kB / 0.7244 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004527/0.6609, allocations: 123.8 kB / 0.7246 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004286/0.6613, allocations: 0.606 MB / 0.7251 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.6616, allocations: 51.62 kB / 0.7252 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-05/0.6616, allocations: 35.98 kB / 0.7252 GB, free: 3.496 MB / 0.5294 GB 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 0.0001639/0.6618, allocations: 147.8 kB / 0.7254 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.643e-05/0.6618, allocations: 19.91 kB / 0.7254 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008913/0.6627, allocations: 462.5 kB / 0.7258 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.6627, allocations: 0 / 0.7258 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.6627, allocations: 4 kB / 0.7258 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.6627, allocations: 0 / 0.7258 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009711/0.6637, allocations: 0.64 MB / 0.7265 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.6637, allocations: 0 / 0.7265 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.664, allocations: 63.89 kB / 0.7265 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.664, allocations: 0 / 0.7265 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/0.664, allocations: 12 kB / 0.7265 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003843/0.6644, allocations: 0.6015 MB / 0.7271 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.6644, allocations: 0 / 0.7271 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004396/0.6648, allocations: 304.7 kB / 0.7274 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.6649, allocations: 108.9 kB / 0.7275 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.478e-05/0.665, allocations: 7.938 kB / 0.7275 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/0.6652, allocations: 17.55 kB / 0.7275 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.6653, allocations: 15.92 kB / 0.7276 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.62e-05/0.6653, allocations: 23.98 kB / 0.7276 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001362/0.6654, allocations: 139.6 kB / 0.7277 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.6654, allocations: 0 / 0.7277 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000689/0.6661, allocations: 167.6 kB / 0.7279 GB, free: 0.5938 MB / 0.5294 GB 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.0006469/0.6668, allocations: 279.4 kB / 0.7281 GB, free: 320 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000545/0.6673, allocations: 213 kB / 0.7283 GB, free: 108 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.6673, allocations: 0 / 0.7283 GB, free: 108 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002168/0.6675, allocations: 80.33 kB / 0.7284 GB, free: 28 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005948/0.6681, allocations: 69.28 kB / 0.7285 GB, free: 15.96 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.6699, allocations: 0.9034 MB / 0.7294 GB, free: 15 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.6702, allocations: 0.7323 MB / 0.7301 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002622/0.6705, allocations: 83.36 kB / 0.7302 GB, free: 14.16 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.6705, allocations: 4 kB / 0.7302 GB, free: 14.15 MB / 0.545 GB Notification: Performance of Templates: time 0.009047/0.6795, allocations: 5.558 MB / 0.7356 GB, free: 8.605 MB / 0.545 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.diff",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] Reference file matches [Calling sys.exit(0), Time elapsed: 9.13930699400953]