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.001518/0.001518, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.001637/0.001637, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.537/1.537, allocations: 230.6 MB / 257.5 MB, free: 8.039 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.2569/0.2569, allocations: 46.93 MB / 360.8 MB, free: 4.312 MB / 286.1 MB " [Timeout remaining time 179] 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.002018/0.002018, allocations: 67.91 kB / 0.4967 GB, free: 7.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.341, allocations: 66.03 MB / 0.5612 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.201/0.542, allocations: 153.5 MB / 0.7111 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006902/0.5489, allocations: 5.345 MB / 0.7163 GB, free: 4.949 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.5491, allocations: 0 / 0.7163 GB, free: 4.949 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000306/0.5494, allocations: 51.61 kB / 0.7163 GB, free: 4.898 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003738/0.5531, allocations: 1.348 MB / 0.7177 GB, free: 3.551 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003525/0.5535, allocations: 143 kB / 0.7178 GB, free: 3.414 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000647/0.5541, allocations: 402.1 kB / 0.7182 GB, free: 3.02 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.875e-05/0.5542, allocations: 21.77 kB / 0.7182 GB, free: 2.996 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003251/0.5545, allocations: 163.4 kB / 0.7184 GB, free: 2.836 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003467/0.5549, allocations: 187.3 kB / 0.7185 GB, free: 2.652 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.098e-05/0.5549, allocations: 12 kB / 0.7185 GB, free: 2.641 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002407/0.5573, allocations: 1.115 MB / 0.7196 GB, free: 1.523 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.362e-05/0.5574, allocations: 47.81 kB / 0.7197 GB, free: 1.477 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.5575, allocations: 107.5 kB / 0.7198 GB, free: 1.371 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00142/0.5589, allocations: 0.8597 MB / 0.7206 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.5589, allocations: 0 / 0.7206 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.253e-06/0.559, allocations: 0 / 0.7206 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.559, allocations: 0 / 0.7206 GB, free: 0.5117 MB / 0.545 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.001387/0.5603, allocations: 0.6294 MB / 0.7212 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.5604, allocations: 8.031 kB / 0.7212 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008009/0.5684, allocations: 0.6015 MB / 0.7218 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005681/0.569, allocations: 209.6 kB / 0.722 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000235/0.5692, allocations: 226.1 kB / 0.7222 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-05/0.5693, allocations: 27.98 kB / 0.7223 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.5706, allocations: 0.5587 MB / 0.7228 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.5706, allocations: 3.938 kB / 0.7228 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.732e-05/0.5707, allocations: 12 kB / 0.7228 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.036e-05/0.5707, allocations: 12 kB / 0.7228 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/0.5722, allocations: 0.6299 MB / 0.7235 GB, free: 13.46 MB / 0.5606 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.002408/0.5747, allocations: 1.579 MB / 0.725 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003904/0.575, allocations: 158.5 kB / 0.7252 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.5752, allocations: 64.88 kB / 0.7252 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001212/0.5764, allocations: 494.9 kB / 0.7257 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/0.5764, allocations: 34.56 kB / 0.7257 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 1.603e-06/0.5764, allocations: 0 / 0.7257 GB, free: 10.99 MB / 0.5606 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.001084/0.5775, allocations: 335.5 kB / 0.726 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.5776, allocations: 55.41 kB / 0.7261 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.5778, allocations: 191.1 kB / 0.7263 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/0.5778, allocations: 25.7 kB / 0.7263 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.578, allocations: 187.8 kB / 0.7265 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.567e-05/0.5781, allocations: 79.36 kB / 0.7266 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.5782, allocations: 94 kB / 0.7266 GB, free: 10 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.5784, allocations: 330.8 kB / 0.727 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.5785, allocations: 60.7 kB / 0.727 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003109/0.5788, allocations: 268 kB / 0.7273 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005179/0.5794, allocations: 370.2 kB / 0.7276 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.5794, allocations: 11.88 kB / 0.7276 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007455/0.5801, allocations: 369.7 kB / 0.728 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.5801, allocations: 8 kB / 0.728 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.5801, allocations: 12.06 kB / 0.728 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.5802, allocations: 8 kB / 0.728 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000435/0.5806, allocations: 123.8 kB / 0.7281 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004702/0.5811, allocations: 0.6015 MB / 0.7287 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/0.5813, allocations: 47.69 kB / 0.7288 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.033e-05/0.5814, allocations: 43.98 kB / 0.7288 GB, free: 7.559 MB / 0.5606 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.0001676/0.5816, allocations: 145.8 kB / 0.7289 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.862e-05/0.5816, allocations: 19.84 kB / 0.729 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009137/0.5826, allocations: 462.1 kB / 0.7294 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.5826, allocations: 0 / 0.7294 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.5826, allocations: 0 / 0.7294 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.5826, allocations: 4 kB / 0.7294 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009534/0.5835, allocations: 0.5356 MB / 0.7299 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.5835, allocations: 4 kB / 0.7299 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00024/0.5838, allocations: 63.89 kB / 0.73 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.5838, allocations: 4 kB / 0.73 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.5838, allocations: 4 kB / 0.73 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004077/0.5842, allocations: 0.6018 MB / 0.7306 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.5842, allocations: 4.031 kB / 0.7306 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004094/0.5846, allocations: 294.3 kB / 0.7309 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.203e-05/0.5847, allocations: 31.88 kB / 0.7309 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.922e-05/0.5848, allocations: 11.94 kB / 0.7309 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002571/0.585, allocations: 11.98 kB / 0.7309 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.5851, allocations: 23.92 kB / 0.731 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.542e-05/0.5851, allocations: 19.98 kB / 0.731 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001345/0.5852, allocations: 139.4 kB / 0.7311 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.5852, allocations: 0 / 0.7311 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006897/0.5859, allocations: 171.6 kB / 0.7313 GB, free: 4.867 MB / 0.5606 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.0005441/0.5865, allocations: 272.3 kB / 0.7315 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005557/0.587, allocations: 216.8 kB / 0.7317 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.587, allocations: 4 kB / 0.7317 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.5872, allocations: 75.83 kB / 0.7318 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005964/0.5878, allocations: 79.56 kB / 0.7319 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.5896, allocations: 0.8862 MB / 0.7328 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.59, allocations: 0.7245 MB / 0.7335 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007181/0.5907, allocations: 378.1 kB / 0.7338 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.5909, allocations: 63.38 kB / 0.7339 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.5909, allocations: 0 / 0.7339 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of Templates: time 0.2573/0.8482, allocations: 5.945 MB / 0.7397 GB, free: 174.2 MB / 0.5606 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins/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: 6.3906792651396245]