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.001847/0.001847, allocations: 103.6 kB / 21.18 MB, free: 0.668 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.002385/0.002385, allocations: 209.1 kB / 24.48 MB, free: 3.965 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.438/1.438, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.2356/0.2356, allocations: 46.98 MB / 361.6 MB, free: 4.035 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.001991/0.001991, allocations: 79.81 kB / 0.4974 GB, free: 7.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3482, allocations: 66.04 MB / 0.5619 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1731/0.5214, allocations: 132 MB / 0.6908 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006214/0.5276, allocations: 4.754 MB / 0.6954 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/0.5277, allocations: 0 / 0.6954 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003159/0.5281, allocations: 55.56 kB / 0.6955 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003973/0.532, allocations: 1.325 MB / 0.6967 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004056/0.5324, allocations: 151.6 kB / 0.6969 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007502/0.5332, allocations: 410 kB / 0.6973 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.926e-05/0.5333, allocations: 9.797 kB / 0.6973 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003241/0.5336, allocations: 175.4 kB / 0.6975 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003689/0.5339, allocations: 171.5 kB / 0.6976 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.534, allocations: 12 kB / 0.6976 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002276/0.5363, allocations: 0.9982 MB / 0.6986 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.948e-05/0.5364, allocations: 39.83 kB / 0.6986 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.5365, allocations: 99.58 kB / 0.6987 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0016/0.5381, allocations: 0.8519 MB / 0.6996 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5381, allocations: 0 / 0.6996 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5381, allocations: 0 / 0.6996 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.5381, allocations: 0 / 0.6996 GB, free: 6.578 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.001417/0.5395, allocations: 0.6216 MB / 0.7002 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.5396, allocations: 8.031 kB / 0.7002 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008028/0.5476, allocations: 0.6093 MB / 0.7008 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007377/0.5483, allocations: 209.5 kB / 0.701 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002182/0.5485, allocations: 230.1 kB / 0.7012 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.5487, allocations: 27.92 kB / 0.7012 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.55, allocations: 0.7383 MB / 0.7019 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.5501, allocations: 4 kB / 0.702 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.044e-05/0.5501, allocations: 12 kB / 0.702 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.589e-05/0.5502, allocations: 8 kB / 0.702 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001606/0.5518, allocations: 0.6182 MB / 0.7026 GB, free: 3.316 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.002377/0.5542, allocations: 1.413 MB / 0.704 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003897/0.5545, allocations: 142.5 kB / 0.7041 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.5547, allocations: 68.86 kB / 0.7042 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001278/0.556, allocations: 487 kB / 0.7046 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.556, allocations: 34.55 kB / 0.7047 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 1.573e-06/0.556, allocations: 3.938 kB / 0.7047 GB, free: 1.062 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.5571, allocations: 328 kB / 0.705 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.5571, allocations: 51.41 kB / 0.705 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.5574, allocations: 203 kB / 0.7052 GB, free: 480 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/0.5574, allocations: 29.7 kB / 0.7052 GB, free: 444 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.5575, allocations: 191.8 kB / 0.7054 GB, free: 248 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.5576, allocations: 75.31 kB / 0.7055 GB, free: 172 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/0.5578, allocations: 98 kB / 0.7056 GB, free: 68 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.558, allocations: 326.8 kB / 0.7059 GB, free: 15.74 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.5581, allocations: 68.7 kB / 0.706 GB, free: 15.67 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003524/0.5585, allocations: 260 kB / 0.7062 GB, free: 15.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005168/0.559, allocations: 366.2 kB / 0.7066 GB, free: 14.87 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.559, allocations: 8 kB / 0.7066 GB, free: 14.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006858/0.5597, allocations: 365.2 kB / 0.7069 GB, free: 14.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.5597, allocations: 8 kB / 0.7069 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.5597, allocations: 8 kB / 0.7069 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.029e-05/0.5597, allocations: 12 kB / 0.7069 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004411/0.5602, allocations: 127.8 kB / 0.7071 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004289/0.5606, allocations: 0.6059 MB / 0.7077 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002684/0.5609, allocations: 43.83 kB / 0.7077 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.634e-05/0.5609, allocations: 43.98 kB / 0.7077 GB, free: 13.63 MB / 0.545 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.0001606/0.5611, allocations: 141.7 kB / 0.7079 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.761e-05/0.5612, allocations: 19.91 kB / 0.7079 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009239/0.5621, allocations: 474.2 kB / 0.7084 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.5621, allocations: 0 / 0.7084 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.5621, allocations: 0 / 0.7084 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.5621, allocations: 4 kB / 0.7084 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009202/0.563, allocations: 497.1 kB / 0.7088 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.563, allocations: 4 kB / 0.7088 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002424/0.5633, allocations: 63.89 kB / 0.7089 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/0.5633, allocations: 4 kB / 0.7089 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.5633, allocations: 4 kB / 0.7089 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003948/0.5637, allocations: 0.6054 MB / 0.7095 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.5637, allocations: 0 / 0.7095 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004278/0.5641, allocations: 302.6 kB / 0.7098 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.5642, allocations: 31.88 kB / 0.7098 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.313e-05/0.5643, allocations: 8 kB / 0.7098 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002672/0.5646, allocations: 19.86 kB / 0.7098 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.647e-05/0.5646, allocations: 15.98 kB / 0.7099 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.104e-05/0.5647, allocations: 19.98 kB / 0.7099 GB, free: 11.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001586/0.5648, allocations: 136 kB / 0.71 GB, free: 11.17 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5648, allocations: 0 / 0.71 GB, free: 11.17 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007434/0.5656, allocations: 171.6 kB / 0.7102 GB, free: 11 MB / 0.545 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.0005845/0.5661, allocations: 266.7 kB / 0.7104 GB, free: 10.73 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005798/0.5667, allocations: 215.8 kB / 0.7106 GB, free: 10.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.5667, allocations: 0 / 0.7106 GB, free: 10.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.5669, allocations: 81.45 kB / 0.7107 GB, free: 10.44 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005839/0.5675, allocations: 83.03 kB / 0.7108 GB, free: 10.36 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.5693, allocations: 0.9152 MB / 0.7117 GB, free: 9.387 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.5695, allocations: 120.4 kB / 0.7118 GB, free: 9.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000278/0.5697, allocations: 83.36 kB / 0.7119 GB, free: 9.168 MB / 0.545 GB Notification: Performance of SimCode: time 5.81e-07/0.5697, allocations: 4 kB / 0.7119 GB, free: 9.164 MB / 0.545 GB Notification: Performance of Templates: time 0.009519/0.5793, allocations: 5.642 MB / 0.7174 GB, free: 3.527 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: 8.832931632001419]