Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001347/0.001347, allocations: 111.1 kB / 20.44 MB, free: 1.324 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.001522/0.001522, allocations: 208.2 kB / 23.72 MB, free: 4.496 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.548/1.548, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2339/0.2339, allocations: 44.94 MB / 358.8 MB, free: 6.086 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Media.TestAllProperties.CO2") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002209/0.002209, allocations: 75.88 kB / 0.4936 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.4051, allocations: 65.47 MB / 0.5575 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.2141/0.6192, allocations: 132 MB / 0.6864 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006577/0.6257, allocations: 4.754 MB / 0.691 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001768/0.6259, allocations: 8 kB / 0.691 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003367/0.6263, allocations: 51.61 kB / 0.6911 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004089/0.6303, allocations: 1.32 MB / 0.6924 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005212/0.6309, allocations: 155.4 kB / 0.6925 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007041/0.6316, allocations: 394.2 kB / 0.6929 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.695e-05/0.6316, allocations: 13.8 kB / 0.6929 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003945/0.632, allocations: 175.3 kB / 0.6931 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000384/0.6324, allocations: 171.5 kB / 0.6932 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.376e-05/0.6325, allocations: 8 kB / 0.6933 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002699/0.6352, allocations: 0.9707 MB / 0.6942 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.6353, allocations: 47.75 kB / 0.6942 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001503/0.6354, allocations: 103.6 kB / 0.6943 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002234/0.6377, allocations: 0.8415 MB / 0.6952 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.6377, allocations: 0 / 0.6952 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6377, allocations: 0 / 0.6952 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.6377, allocations: 0 / 0.6952 GB, free: 9.98 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.001734/0.6394, allocations: 0.6216 MB / 0.6958 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.6395, allocations: 15.98 kB / 0.6958 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008369/0.6478, allocations: 0.6093 MB / 0.6964 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006975/0.6485, allocations: 209.5 kB / 0.6966 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002398/0.6488, allocations: 226.1 kB / 0.6968 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.6489, allocations: 20 kB / 0.6968 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.6503, allocations: 0.7383 MB / 0.6975 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.6503, allocations: 7.938 kB / 0.6976 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.467e-05/0.6504, allocations: 12 kB / 0.6976 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.81e-05/0.6505, allocations: 8 kB / 0.6976 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001747/0.6522, allocations: 0.6182 MB / 0.6982 GB, free: 6.719 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.002499/0.6547, allocations: 1.409 MB / 0.6995 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003889/0.6551, allocations: 146.5 kB / 0.6997 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.6552, allocations: 68.88 kB / 0.6998 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001324/0.6566, allocations: 491 kB / 0.7002 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.196e-05/0.6566, allocations: 38.56 kB / 0.7003 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 2.615e-06/0.6566, allocations: 0 / 0.7003 GB, free: 4.461 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.001179/0.6578, allocations: 331.7 kB / 0.7006 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/0.6579, allocations: 55.41 kB / 0.7006 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.6581, allocations: 199 kB / 0.7008 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.268e-05/0.6581, allocations: 29.7 kB / 0.7008 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.6583, allocations: 183.8 kB / 0.701 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.073e-05/0.6584, allocations: 75.38 kB / 0.7011 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.6585, allocations: 98 kB / 0.7012 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002172/0.6587, allocations: 330.8 kB / 0.7015 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.6589, allocations: 64.7 kB / 0.7016 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003346/0.6592, allocations: 264 kB / 0.7018 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005876/0.6598, allocations: 364.7 kB / 0.7022 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.6598, allocations: 4 kB / 0.7022 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008426/0.6607, allocations: 373.3 kB / 0.7025 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.6607, allocations: 8 kB / 0.7025 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/0.6607, allocations: 8 kB / 0.7025 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.469e-05/0.6608, allocations: 8 kB / 0.7025 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004628/0.6612, allocations: 123.8 kB / 0.7027 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004766/0.6617, allocations: 0.6171 MB / 0.7033 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002648/0.662, allocations: 36.2 kB / 0.7033 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.095e-05/0.662, allocations: 47.98 kB / 0.7033 GB, free: 1.035 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.0001735/0.6622, allocations: 141.7 kB / 0.7035 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.914e-05/0.6623, allocations: 19.91 kB / 0.7035 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009297/0.6632, allocations: 467.1 kB / 0.7039 GB, free: 400 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.086e-06/0.6632, allocations: 4 kB / 0.704 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.6632, allocations: 0 / 0.704 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.6632, allocations: 0 / 0.704 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000974/0.6642, allocations: 0.5011 MB / 0.7044 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.6642, allocations: 0 / 0.7044 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002304/0.6644, allocations: 63.89 kB / 0.7045 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.6644, allocations: 0 / 0.7045 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.736e-05/0.6645, allocations: 12 kB / 0.7045 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004387/0.6649, allocations: 0.5976 MB / 0.7051 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.6649, allocations: 4 kB / 0.7051 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004915/0.6654, allocations: 305.5 kB / 0.7054 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.6655, allocations: 31.88 kB / 0.7054 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.056e-05/0.6656, allocations: 4 kB / 0.7054 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.6658, allocations: 15.92 kB / 0.7054 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.6659, allocations: 11.98 kB / 0.7055 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-05/0.666, allocations: 23.98 kB / 0.7055 GB, free: 14.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001443/0.6661, allocations: 136 kB / 0.7056 GB, free: 14.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6661, allocations: 0 / 0.7056 GB, free: 14.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000737/0.6668, allocations: 179.5 kB / 0.7058 GB, free: 14.39 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.0006525/0.6675, allocations: 266.6 kB / 0.706 GB, free: 14.12 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006068/0.6681, allocations: 224.1 kB / 0.7062 GB, free: 13.91 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.6681, allocations: 0 / 0.7062 GB, free: 13.91 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002045/0.6683, allocations: 77.39 kB / 0.7063 GB, free: 13.83 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005974/0.6689, allocations: 78.84 kB / 0.7064 GB, free: 13.76 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.6707, allocations: 0.8785 MB / 0.7073 GB, free: 12.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/0.6709, allocations: 116.5 kB / 0.7074 GB, free: 12.69 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007812/0.6717, allocations: 382.1 kB / 0.7077 GB, free: 12.32 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.6718, allocations: 55.39 kB / 0.7078 GB, free: 12.27 MB / 0.545 GB Notification: Performance of SimCode: time 6.22e-07/0.6718, allocations: 4 kB / 0.7078 GB, free: 12.26 MB / 0.545 GB Notification: Performance of Templates: time 0.01261/0.6844, allocations: 6.087 MB / 0.7137 GB, free: 6.254 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.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.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.935289043933153]