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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.CO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001489, allocations: 110.8 kB / 17.33 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 193.3 kB / 18.25 MB, free: 5.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 241.9 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2028/0.2028, allocations: 44.17 MB / 336.2 MB, free: 2.867 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001273, allocations: 60.81 kB / 407.9 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1328, allocations: 60.83 MB / 468.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3912/0.524, allocations: 148 MB / 0.6023 GB, free: 13.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005774/0.5298, allocations: 5.302 MB / 0.6075 GB, free: 7.719 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.53, allocations: 8 kB / 0.6075 GB, free: 7.711 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002797/0.5303, allocations: 39.8 kB / 0.6075 GB, free: 7.672 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003253/0.5336, allocations: 1.205 MB / 0.6087 GB, free: 6.469 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.5339, allocations: 138.1 kB / 0.6088 GB, free: 6.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005256/0.5344, allocations: 390.2 kB / 0.6092 GB, free: 5.957 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.031e-05/0.5345, allocations: 13.67 kB / 0.6092 GB, free: 5.945 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002908/0.5348, allocations: 167.3 kB / 0.6094 GB, free: 5.781 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002946/0.5351, allocations: 191.4 kB / 0.6096 GB, free: 5.594 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.5351, allocations: 8 kB / 0.6096 GB, free: 5.586 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002004/0.5372, allocations: 1.069 MB / 0.6106 GB, free: 4.516 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.5373, allocations: 55.75 kB / 0.6107 GB, free: 4.461 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.5374, allocations: 107.5 kB / 0.6108 GB, free: 4.355 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001576/0.539, allocations: 0.8615 MB / 0.6116 GB, free: 3.492 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.539, allocations: 0 / 0.6116 GB, free: 3.492 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.539, allocations: 4 kB / 0.6116 GB, free: 3.488 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.539, allocations: 0 / 0.6116 GB, free: 3.488 MB / 446.1 MB 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.001365/0.5404, allocations: 0.6834 MB / 0.6123 GB, free: 2.758 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.5404, allocations: 8.031 kB / 0.6123 GB, free: 2.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007597/0.548, allocations: 0.5897 MB / 0.6129 GB, free: 2.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004271/0.5485, allocations: 267.7 kB / 0.6131 GB, free: 1.859 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001418/0.5486, allocations: 131.3 kB / 0.6132 GB, free: 1.703 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.5488, allocations: 24 kB / 0.6133 GB, free: 1.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.55, allocations: 0.5633 MB / 0.6138 GB, free: 1.082 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.5501, allocations: 0 / 0.6138 GB, free: 1.082 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-05/0.5502, allocations: 12 kB / 0.6138 GB, free: 1.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.535e-05/0.5502, allocations: 12 kB / 0.6138 GB, free: 1.059 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/0.5517, allocations: 0.6299 MB / 0.6144 GB, free: 440 kB / 446.1 MB 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.002226/0.554, allocations: 1.703 MB / 0.6161 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003948/0.5544, allocations: 154.6 kB / 0.6163 GB, free: 14.41 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.5545, allocations: 80.72 kB / 0.6163 GB, free: 14.33 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001441/0.556, allocations: 1.471 MB / 0.6178 GB, free: 12.59 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/0.556, allocations: 38.56 kB / 0.6178 GB, free: 12.55 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 1.754e-06/0.556, allocations: 0 / 0.6178 GB, free: 12.55 MB / 462.1 MB 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.00104/0.5571, allocations: 325.4 kB / 0.6181 GB, free: 12.22 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.5572, allocations: 63.34 kB / 0.6182 GB, free: 12.15 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.5574, allocations: 187 kB / 0.6184 GB, free: 11.96 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.675e-05/0.5574, allocations: 29.64 kB / 0.6184 GB, free: 11.92 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.5575, allocations: 183.3 kB / 0.6186 GB, free: 11.74 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.09e-05/0.5576, allocations: 63.09 kB / 0.6186 GB, free: 11.68 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/0.5578, allocations: 101.9 kB / 0.6187 GB, free: 11.57 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.5579, allocations: 326.8 kB / 0.619 GB, free: 11.24 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.5581, allocations: 72.7 kB / 0.6191 GB, free: 11.17 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002902/0.5584, allocations: 264 kB / 0.6193 GB, free: 10.82 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004682/0.5589, allocations: 362.9 kB / 0.6197 GB, free: 10.37 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.5589, allocations: 4.875 kB / 0.6197 GB, free: 10.37 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006308/0.5595, allocations: 372.1 kB / 0.6201 GB, free: 10 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.5595, allocations: 14.81 kB / 0.6201 GB, free: 9.988 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.5596, allocations: 8 kB / 0.6201 GB, free: 9.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.5596, allocations: 12 kB / 0.6201 GB, free: 9.969 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004027/0.56, allocations: 115.9 kB / 0.6202 GB, free: 9.855 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003802/0.5604, allocations: 0.6093 MB / 0.6208 GB, free: 9.223 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/0.5607, allocations: 47.53 kB / 0.6208 GB, free: 9.176 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-05/0.5607, allocations: 36.03 kB / 0.6209 GB, free: 9.145 MB / 462.1 MB 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.0001693/0.5609, allocations: 153.6 kB / 0.621 GB, free: 8.984 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.305e-05/0.561, allocations: 19.81 kB / 0.621 GB, free: 8.965 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009598/0.5619, allocations: 456.7 kB / 0.6215 GB, free: 8.504 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.562, allocations: 3.984 kB / 0.6215 GB, free: 8.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.562, allocations: 0 / 0.6215 GB, free: 8.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.562, allocations: 0 / 0.6215 GB, free: 8.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008916/0.5629, allocations: 0.6411 MB / 0.6221 GB, free: 7.762 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.269e-06/0.5629, allocations: 0 / 0.6221 GB, free: 7.762 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/0.5631, allocations: 55.95 kB / 0.6222 GB, free: 7.707 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.5632, allocations: 4 kB / 0.6222 GB, free: 7.703 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-05/0.5632, allocations: 12 kB / 0.6222 GB, free: 7.691 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003831/0.5636, allocations: 0.5979 MB / 0.6228 GB, free: 7.07 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.5636, allocations: 3.984 kB / 0.6228 GB, free: 7.066 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004432/0.5641, allocations: 302.1 kB / 0.623 GB, free: 6.73 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.5642, allocations: 108.8 kB / 0.6232 GB, free: 6.605 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.791e-05/0.5643, allocations: 11.88 kB / 0.6232 GB, free: 6.594 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002652/0.5645, allocations: 15.98 kB / 0.6232 GB, free: 6.578 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.5646, allocations: 19.92 kB / 0.6232 GB, free: 6.559 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.622e-05/0.5646, allocations: 23.98 kB / 0.6232 GB, free: 6.535 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.5647, allocations: 131.6 kB / 0.6233 GB, free: 6.406 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5648, allocations: 0 / 0.6233 GB, free: 6.406 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007255/0.5655, allocations: 168 kB / 0.6235 GB, free: 6.242 MB / 462.1 MB 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.0007489/0.5662, allocations: 267.3 kB / 0.6238 GB, free: 5.98 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005515/0.5668, allocations: 235 kB / 0.624 GB, free: 5.754 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.5668, allocations: 0 / 0.624 GB, free: 5.754 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.567, allocations: 85.33 kB / 0.6241 GB, free: 5.672 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000561/0.5676, allocations: 72.17 kB / 0.6241 GB, free: 5.605 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.5692, allocations: 0.9033 MB / 0.625 GB, free: 4.652 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.5695, allocations: 0.7245 MB / 0.6257 GB, free: 3.898 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000786/0.5703, allocations: 391.1 kB / 0.6261 GB, free: 3.512 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.5705, allocations: 63.31 kB / 0.6262 GB, free: 3.449 MB / 462.1 MB Notification: Performance of SimCode: time 3.21e-07/0.5705, allocations: 0 / 0.6262 GB, free: 3.449 MB / 462.1 MB Notification: Performance of Templates: time 0.009934/0.5804, allocations: 5.634 MB / 0.6317 GB, free: 13.86 MB / 478.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.makefile (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) 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) Reference file matches