Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001239/0.001239, allocations: 112.9 kB / 19.17 MB, free: 3.871 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.00137/0.00137, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.461/1.461, allocations: 230.2 MB / 255.1 MB, free: 15.37 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2271/0.2271, allocations: 46.88 MB / 358.1 MB, free: 10.5 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Media.TestAllProperties.CO2") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002254/0.002254, allocations: 87.86 kB / 0.4924 GB, free: 7.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1357, allocations: 65.99 MB / 0.5568 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4345/0.5702, allocations: 153.5 MB / 0.7067 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006272/0.5765, allocations: 5.325 MB / 0.7119 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.5767, allocations: 0 / 0.7119 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003027/0.577, allocations: 55.59 kB / 0.712 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003739/0.5807, allocations: 1.324 MB / 0.7133 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003438/0.581, allocations: 142.3 kB / 0.7134 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005964/0.5816, allocations: 402.1 kB / 0.7138 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.406e-05/0.5817, allocations: 10.2 kB / 0.7138 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002717/0.582, allocations: 167.3 kB / 0.7139 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003409/0.5823, allocations: 179.4 kB / 0.7141 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.437e-05/0.5823, allocations: 8 kB / 0.7141 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002563/0.5849, allocations: 1.111 MB / 0.7152 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.333e-05/0.585, allocations: 55.75 kB / 0.7153 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.5851, allocations: 107.5 kB / 0.7154 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001617/0.5868, allocations: 0.8649 MB / 0.7162 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.5868, allocations: 4 kB / 0.7162 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5868, allocations: 0 / 0.7162 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.5868, allocations: 0 / 0.7162 GB, free: 14.43 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.001425/0.5882, allocations: 0.693 MB / 0.7169 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.5882, allocations: 16.03 kB / 0.7169 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008163/0.5964, allocations: 0.5981 MB / 0.7175 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005816/0.597, allocations: 275.7 kB / 0.7177 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001341/0.5971, allocations: 119.4 kB / 0.7179 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.382e-05/0.5972, allocations: 20 kB / 0.7179 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/0.5985, allocations: 0.5673 MB / 0.7184 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.5985, allocations: 0 / 0.7184 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-05/0.5986, allocations: 12 kB / 0.7184 GB, free: 12 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/0.5986, allocations: 8 kB / 0.7185 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00155/0.6001, allocations: 0.6338 MB / 0.7191 GB, free: 11.35 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.00236/0.6025, allocations: 1.715 MB / 0.7207 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003923/0.6029, allocations: 142.5 kB / 0.7209 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.603, allocations: 79.84 kB / 0.721 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001674/0.6047, allocations: 1.479 MB / 0.7224 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.6047, allocations: 30.56 kB / 0.7224 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 1.644e-06/0.6047, allocations: 0 / 0.7224 GB, free: 7.48 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.001085/0.6058, allocations: 325.5 kB / 0.7227 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.6059, allocations: 55.41 kB / 0.7228 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.6061, allocations: 190.5 kB / 0.723 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.6061, allocations: 25.7 kB / 0.723 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.6063, allocations: 195.8 kB / 0.7232 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.492e-05/0.6063, allocations: 71.42 kB / 0.7233 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.6065, allocations: 90.02 kB / 0.7233 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.6066, allocations: 330.8 kB / 0.7237 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.6068, allocations: 64.72 kB / 0.7237 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003252/0.6071, allocations: 272.9 kB / 0.724 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005202/0.6076, allocations: 371.6 kB / 0.7243 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.6077, allocations: 7.625 kB / 0.7243 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006732/0.6083, allocations: 365.8 kB / 0.7247 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.6084, allocations: 8 kB / 0.7247 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.6084, allocations: 4 kB / 0.7247 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/0.6084, allocations: 12 kB / 0.7247 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004446/0.6088, allocations: 131.7 kB / 0.7248 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004312/0.6093, allocations: 0.6021 MB / 0.7254 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002518/0.6095, allocations: 55.61 kB / 0.7255 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.003e-05/0.6096, allocations: 39.94 kB / 0.7255 GB, free: 4.055 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.0001659/0.6097, allocations: 141.7 kB / 0.7257 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.896e-05/0.6098, allocations: 27.88 kB / 0.7257 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008991/0.6107, allocations: 452.8 kB / 0.7261 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.6107, allocations: 7.984 kB / 0.7261 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6107, allocations: 0 / 0.7261 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.6107, allocations: 0 / 0.7261 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009876/0.6117, allocations: 0.6393 MB / 0.7267 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.6117, allocations: 0 / 0.7267 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/0.6119, allocations: 59.91 kB / 0.7268 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.6119, allocations: 3.938 kB / 0.7268 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.612, allocations: 15.98 kB / 0.7268 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003779/0.6123, allocations: 0.5976 MB / 0.7274 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.6124, allocations: 1.688 kB / 0.7274 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004134/0.6128, allocations: 308.5 kB / 0.7277 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.6129, allocations: 104.9 kB / 0.7278 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.85e-05/0.6129, allocations: 11.92 kB / 0.7278 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.6132, allocations: 12 kB / 0.7278 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.6132, allocations: 15.97 kB / 0.7278 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.685e-05/0.6133, allocations: 20 kB / 0.7279 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001443/0.6134, allocations: 139.6 kB / 0.728 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6134, allocations: 0 / 0.728 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006969/0.6141, allocations: 171.6 kB / 0.7282 GB, free: 1.148 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.0007098/0.6148, allocations: 289.6 kB / 0.7284 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005728/0.6154, allocations: 223 kB / 0.7286 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.6154, allocations: 4 kB / 0.7286 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.6156, allocations: 71.89 kB / 0.7287 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005902/0.6162, allocations: 75.14 kB / 0.7288 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.618, allocations: 0.9022 MB / 0.7297 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.6183, allocations: 0.7245 MB / 0.7304 GB, free: 14.79 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002858/0.6186, allocations: 91.34 kB / 0.7305 GB, free: 14.71 MB / 0.545 GB Notification: Performance of SimCode: time 7.81e-07/0.6186, allocations: 0 / 0.7305 GB, free: 14.71 MB / 0.545 GB Notification: Performance of Templates: time 0.009263/0.6279, allocations: 5.573 MB / 0.7359 GB, free: 9.141 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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-beta.om_ModelicaTest.Media.TestAllProperties.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.243458247976378]