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.001535/0.001535, allocations: 119.2 kB / 19.13 MB, free: 3.918 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.001644/0.001644, allocations: 210.6 kB / 22.08 MB, free: 0.9688 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.456/1.456, allocations: 227.4 MB / 252.3 MB, free: 96 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.2289/0.2289, allocations: 46.18 MB / 351.8 MB, free: 14.3 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.002273/0.002273, allocations: 81.38 kB / 490.9 MB, free: 27.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1204, allocations: 62.44 MB / 0.5404 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4773/0.5977, allocations: 153 MB / 0.6898 GB, free: 3.684 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006186/0.604, allocations: 5.321 MB / 0.695 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.6042, allocations: 2.125 kB / 0.695 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002974/0.6045, allocations: 51.59 kB / 0.6951 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003773/0.6083, allocations: 1.324 MB / 0.6964 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003529/0.6087, allocations: 142.4 kB / 0.6965 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005828/0.6093, allocations: 388.4 kB / 0.6969 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.423e-05/0.6093, allocations: 23.03 kB / 0.6969 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002652/0.6096, allocations: 166.8 kB / 0.6971 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002874/0.6099, allocations: 172.7 kB / 0.6972 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.241e-05/0.6099, allocations: 14.25 kB / 0.6972 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002467/0.6124, allocations: 1.1 MB / 0.6983 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.6125, allocations: 44.09 kB / 0.6983 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.6127, allocations: 110.2 kB / 0.6984 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001769/0.6145, allocations: 0.8526 MB / 0.6993 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.6145, allocations: 4 kB / 0.6993 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.824e-06/0.6145, allocations: 6.75 kB / 0.6993 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.263e-05/0.6145, allocations: 0 / 0.6993 GB, free: 12.73 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.001826/0.6164, allocations: 0.6988 MB / 0.7 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.829e-05/0.6164, allocations: 13.28 kB / 0.7 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008742/0.6252, allocations: 0.6124 MB / 0.7006 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006056/0.6258, allocations: 267.8 kB / 0.7008 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/0.626, allocations: 115.4 kB / 0.701 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-05/0.6261, allocations: 28 kB / 0.701 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.6274, allocations: 0.5595 MB / 0.7015 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.6275, allocations: 7.922 kB / 0.7015 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.298e-05/0.6276, allocations: 12 kB / 0.7015 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.279e-05/0.6276, allocations: 8 kB / 0.7016 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001605/0.6292, allocations: 0.626 MB / 0.7022 GB, free: 10 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.002367/0.6316, allocations: 1.715 MB / 0.7038 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000403/0.632, allocations: 151.8 kB / 0.704 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.6322, allocations: 76.86 kB / 0.7041 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001718/0.6339, allocations: 1.49 MB / 0.7055 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.39e-05/0.6339, allocations: 34.56 kB / 0.7055 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 1.773e-06/0.6339, allocations: 0 / 0.7055 GB, free: 6.105 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.001027/0.635, allocations: 321.6 kB / 0.7059 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.635, allocations: 55.34 kB / 0.7059 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.6352, allocations: 190.5 kB / 0.7061 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.6353, allocations: 29.7 kB / 0.7061 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.6354, allocations: 187.8 kB / 0.7063 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.396e-05/0.6355, allocations: 75.42 kB / 0.7064 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.6357, allocations: 94.02 kB / 0.7065 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.6358, allocations: 334.8 kB / 0.7068 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.636, allocations: 60.72 kB / 0.7068 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000326/0.6363, allocations: 260.5 kB / 0.7071 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005223/0.6369, allocations: 367.2 kB / 0.7074 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.6369, allocations: 4 kB / 0.7074 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006756/0.6376, allocations: 379.5 kB / 0.7078 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.6376, allocations: 8 kB / 0.7078 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.6376, allocations: 8 kB / 0.7078 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.6376, allocations: 8 kB / 0.7078 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004049/0.638, allocations: 127.8 kB / 0.7079 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004542/0.6385, allocations: 0.6019 MB / 0.7085 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.6388, allocations: 47.69 kB / 0.7086 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-05/0.6388, allocations: 43.98 kB / 0.7086 GB, free: 2.691 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.0001588/0.639, allocations: 145.6 kB / 0.7088 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.053e-05/0.6391, allocations: 15.91 kB / 0.7088 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009066/0.64, allocations: 462 kB / 0.7092 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.64, allocations: 0 / 0.7092 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.64, allocations: 0 / 0.7092 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.64, allocations: 7.984 kB / 0.7092 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009878/0.641, allocations: 0.6429 MB / 0.7098 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.641, allocations: 4.25 kB / 0.7098 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.6413, allocations: 59.97 kB / 0.7099 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.6413, allocations: 0 / 0.7099 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.6413, allocations: 11.98 kB / 0.7099 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003831/0.6417, allocations: 0.5976 MB / 0.7105 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.6417, allocations: 4 kB / 0.7105 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004198/0.6421, allocations: 302.2 kB / 0.7108 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.6423, allocations: 116.9 kB / 0.7109 GB, free: 148 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.155e-05/0.6423, allocations: 11.92 kB / 0.7109 GB, free: 136 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.6426, allocations: 8 kB / 0.7109 GB, free: 128 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.6426, allocations: 19.92 kB / 0.7109 GB, free: 108 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.592e-05/0.6427, allocations: 19.98 kB / 0.711 GB, free: 88 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001583/0.6428, allocations: 135.6 kB / 0.7111 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6428, allocations: 0 / 0.7111 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006889/0.6435, allocations: 175.6 kB / 0.7113 GB, free: 15.78 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.0007178/0.6442, allocations: 276.7 kB / 0.7115 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005715/0.6448, allocations: 224.9 kB / 0.7117 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.6448, allocations: 0.5 kB / 0.7117 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.6451, allocations: 87.84 kB / 0.7118 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005561/0.6456, allocations: 70.28 kB / 0.7119 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00172/0.6474, allocations: 0.9167 MB / 0.7128 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.6478, allocations: 0.7245 MB / 0.7135 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002728/0.648, allocations: 91.34 kB / 0.7136 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of SimCode: time 3.91e-07/0.6481, allocations: 0 / 0.7136 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of Templates: time 0.009603/0.6577, allocations: 5.541 MB / 0.719 GB, free: 7.789 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.948673323029652]