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.00136/0.001366, allocations: 118 kB / 18.46 MB, free: 4.613 MB / 14.72 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.001405/0.001405, allocations: 207.4 kB / 21.4 MB, free: 1.668 MB / 14.72 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.503/1.503, allocations: 227.4 MB / 251.6 MB, free: 68 kB / 190.1 MB " [Timeout remaining time 178] 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.2457/0.2457, allocations: 46.17 MB / 351.1 MB, free: 14.28 MB / 286.1 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.1.|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.1.|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 0.002255/0.002255, allocations: 78.98 kB / 490.2 MB, free: 28.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1248, allocations: 62.44 MB / 0.5397 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.5149/0.6397, allocations: 153 MB / 0.6891 GB, free: 3.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006671/0.6465, allocations: 5.316 MB / 0.6943 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002105/0.6467, allocations: 6.281 kB / 0.6943 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003437/0.647, allocations: 51.41 kB / 0.6944 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00397/0.651, allocations: 1.319 MB / 0.6957 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003866/0.6514, allocations: 150.4 kB / 0.6958 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006392/0.6521, allocations: 387.1 kB / 0.6962 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.472e-05/0.6521, allocations: 15.86 kB / 0.6962 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002593/0.6524, allocations: 174.2 kB / 0.6964 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002869/0.6527, allocations: 169.4 kB / 0.6965 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.181e-05/0.6527, allocations: 7.562 kB / 0.6965 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002474/0.6552, allocations: 1.111 MB / 0.6976 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.008e-05/0.6553, allocations: 44.44 kB / 0.6977 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.6555, allocations: 108.4 kB / 0.6978 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001523/0.657, allocations: 0.8528 MB / 0.6986 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.657, allocations: 7.984 kB / 0.6986 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.657, allocations: 0 / 0.6986 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.533e-06/0.657, allocations: 0 / 0.6986 GB, free: 12.62 MB / 0.4981 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.001466/0.6585, allocations: 0.6974 MB / 0.6993 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.6586, allocations: 13.16 kB / 0.6993 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007336/0.6659, allocations: 0.6088 MB / 0.6999 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005551/0.6665, allocations: 263.8 kB / 0.7002 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000148/0.6666, allocations: 127.4 kB / 0.7003 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.091e-05/0.6667, allocations: 28 kB / 0.7003 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.668, allocations: 0.5595 MB / 0.7008 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.668, allocations: 0 / 0.7008 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-05/0.6681, allocations: 12 kB / 0.7009 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.439e-05/0.6681, allocations: 11.94 kB / 0.7009 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/0.6697, allocations: 0.626 MB / 0.7015 GB, free: 9.887 MB / 0.4981 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.00222/0.6719, allocations: 1.719 MB / 0.7032 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003668/0.6723, allocations: 154.9 kB / 0.7033 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/0.6725, allocations: 72.88 kB / 0.7034 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001652/0.6741, allocations: 1.487 MB / 0.7048 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/0.6742, allocations: 34.56 kB / 0.7049 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 1.393e-06/0.6742, allocations: 0 / 0.7049 GB, free: 5.992 MB / 0.4981 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.001024/0.6752, allocations: 331.1 kB / 0.7052 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.6753, allocations: 51.41 kB / 0.7052 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.6755, allocations: 190.5 kB / 0.7054 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.6755, allocations: 25.7 kB / 0.7054 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.6756, allocations: 195.8 kB / 0.7056 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.043e-05/0.6757, allocations: 71.44 kB / 0.7057 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/0.6758, allocations: 90 kB / 0.7058 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.676, allocations: 334.8 kB / 0.7061 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.6761, allocations: 68.7 kB / 0.7062 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003038/0.6764, allocations: 260.5 kB / 0.7064 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004811/0.6769, allocations: 370.1 kB / 0.7068 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.6769, allocations: 4 kB / 0.7068 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006381/0.6776, allocations: 378.8 kB / 0.7071 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.6776, allocations: 8 kB / 0.7071 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.6776, allocations: 7.938 kB / 0.7071 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/0.6777, allocations: 12 kB / 0.7072 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003854/0.6781, allocations: 123.8 kB / 0.7073 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003993/0.6785, allocations: 0.6018 MB / 0.7079 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.6787, allocations: 55.69 kB / 0.7079 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-05/0.6788, allocations: 43.98 kB / 0.708 GB, free: 2.566 MB / 0.4981 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.0001435/0.6789, allocations: 141.7 kB / 0.7081 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.597e-05/0.679, allocations: 15.91 kB / 0.7081 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008487/0.6798, allocations: 450.6 kB / 0.7085 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.6798, allocations: 0 / 0.7085 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.6799, allocations: 3.938 kB / 0.7085 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.6799, allocations: 0 / 0.7085 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000933/0.6808, allocations: 0.643 MB / 0.7092 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.6808, allocations: 0 / 0.7092 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/0.681, allocations: 68.14 kB / 0.7092 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.6811, allocations: 4 kB / 0.7092 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.6811, allocations: 11.94 kB / 0.7092 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003624/0.6814, allocations: 0.6015 MB / 0.7098 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.6815, allocations: 0 / 0.7098 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003855/0.6818, allocations: 303.8 kB / 0.7101 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.682, allocations: 108.9 kB / 0.7102 GB, free: 36 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.474e-05/0.682, allocations: 11.94 kB / 0.7102 GB, free: 24 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.6822, allocations: 15.98 kB / 0.7103 GB, free: 8 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.514e-05/0.6823, allocations: 15.98 kB / 0.7103 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-05/0.6824, allocations: 27.91 kB / 0.7103 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001269/0.6825, allocations: 135.6 kB / 0.7104 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6825, allocations: 0 / 0.7104 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006495/0.6831, allocations: 171.6 kB / 0.7106 GB, free: 15.66 MB / 0.5137 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.0006709/0.6838, allocations: 279.5 kB / 0.7109 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005317/0.6844, allocations: 219.8 kB / 0.7111 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6844, allocations: 0 / 0.7111 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002051/0.6846, allocations: 88.27 kB / 0.7111 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005526/0.6852, allocations: 79.59 kB / 0.7112 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.6869, allocations: 0.8814 MB / 0.7121 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.6873, allocations: 0.7245 MB / 0.7128 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007527/0.688, allocations: 387.1 kB / 0.7132 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.6882, allocations: 63.38 kB / 0.7132 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of SimCode: time 3.8e-07/0.6882, allocations: 0 / 0.7132 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of Templates: time 0.01079/0.699, allocations: 5.729 MB / 0.7188 GB, free: 7.195 MB / 0.5137 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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_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: 5.934345579706132]