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.00153/0.001529, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001731/0.001731, allocations: 194 kB / 18.77 MB, free: 4.742 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.464/1.464, allocations: 222.9 MB / 242.5 MB, free: 15.48 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.2061/0.2061, allocations: 44.17 MB / 336.8 MB, free: 3.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 64 kB / 408.4 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1495, allocations: 60.83 MB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3619/0.5115, allocations: 147.9 MB / 0.6026 GB, free: 13.42 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005828/0.5174, allocations: 5.396 MB / 0.6079 GB, free: 8.023 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.5175, allocations: 0 / 0.6079 GB, free: 8.023 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002879/0.5178, allocations: 47.72 kB / 0.6079 GB, free: 7.977 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003501/0.5214, allocations: 1.166 MB / 0.6091 GB, free: 6.812 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.5217, allocations: 130.4 kB / 0.6092 GB, free: 6.691 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005995/0.5223, allocations: 470.1 kB / 0.6096 GB, free: 6.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.694e-05/0.5224, allocations: 9.688 kB / 0.6097 GB, free: 6.223 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002599/0.5227, allocations: 167.3 kB / 0.6098 GB, free: 6.059 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002995/0.523, allocations: 183.4 kB / 0.61 GB, free: 5.879 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.027e-05/0.523, allocations: 4 kB / 0.61 GB, free: 5.875 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00257/0.5256, allocations: 1.053 MB / 0.611 GB, free: 4.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.746e-05/0.5257, allocations: 47.8 kB / 0.6111 GB, free: 4.773 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.5258, allocations: 111.5 kB / 0.6112 GB, free: 4.664 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.5269, allocations: 0.6082 MB / 0.6118 GB, free: 4.055 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5269, allocations: 0 / 0.6118 GB, free: 4.055 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.5269, allocations: 0 / 0.6118 GB, free: 4.055 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.5269, allocations: 0 / 0.6118 GB, free: 4.055 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.001311/0.5282, allocations: 0.6834 MB / 0.6124 GB, free: 3.324 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.5283, allocations: 12.02 kB / 0.6124 GB, free: 3.312 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007671/0.536, allocations: 0.5862 MB / 0.613 GB, free: 2.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005172/0.5365, allocations: 275.7 kB / 0.6133 GB, free: 2.422 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.5367, allocations: 127.4 kB / 0.6134 GB, free: 2.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.5368, allocations: 16 kB / 0.6134 GB, free: 2.254 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.5381, allocations: 0.5634 MB / 0.614 GB, free: 1.656 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.5381, allocations: 4 kB / 0.614 GB, free: 1.652 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.059e-05/0.5382, allocations: 12 kB / 0.614 GB, free: 1.641 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.198e-05/0.5382, allocations: 4 kB / 0.614 GB, free: 1.637 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001504/0.5397, allocations: 0.6299 MB / 0.6146 GB, free: 1.008 MB / 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.002482/0.5422, allocations: 1.707 MB / 0.6163 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000385/0.5426, allocations: 150.5 kB / 0.6164 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.5428, allocations: 88.75 kB / 0.6165 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00138/0.5442, allocations: 1.471 MB / 0.6179 GB, free: 13.17 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.5442, allocations: 34.56 kB / 0.618 GB, free: 13.12 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 1.673e-06/0.5442, allocations: 0 / 0.618 GB, free: 13.12 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.001066/0.5453, allocations: 332.1 kB / 0.6183 GB, free: 12.8 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.5454, allocations: 51.41 kB / 0.6183 GB, free: 12.73 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.5455, allocations: 187.1 kB / 0.6185 GB, free: 12.54 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.5456, allocations: 33.7 kB / 0.6185 GB, free: 12.5 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.644e-05/0.5457, allocations: 179.2 kB / 0.6187 GB, free: 12.32 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.699e-05/0.5457, allocations: 75.09 kB / 0.6188 GB, free: 12.25 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.5459, allocations: 93.88 kB / 0.6189 GB, free: 12.15 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.546, allocations: 334.8 kB / 0.6192 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.5462, allocations: 60.72 kB / 0.6193 GB, free: 11.76 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003138/0.5466, allocations: 268 kB / 0.6195 GB, free: 11.4 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000494/0.5471, allocations: 369.7 kB / 0.6199 GB, free: 10.95 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.5471, allocations: 4 kB / 0.6199 GB, free: 10.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007039/0.5478, allocations: 369.1 kB / 0.6202 GB, free: 10.58 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.5478, allocations: 10.19 kB / 0.6202 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.5478, allocations: 8 kB / 0.6202 GB, free: 10.56 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.5479, allocations: 8 kB / 0.6202 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004221/0.5483, allocations: 127.8 kB / 0.6204 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003726/0.5487, allocations: 0.6021 MB / 0.621 GB, free: 9.805 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/0.549, allocations: 51.52 kB / 0.621 GB, free: 9.754 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.035e-05/0.549, allocations: 40 kB / 0.621 GB, free: 9.715 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.0002201/0.5493, allocations: 145.3 kB / 0.6212 GB, free: 9.566 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.111e-05/0.5493, allocations: 15.81 kB / 0.6212 GB, free: 9.551 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.5504, allocations: 468.2 kB / 0.6216 GB, free: 9.082 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.5504, allocations: 4 kB / 0.6216 GB, free: 9.078 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.5504, allocations: 3.984 kB / 0.6216 GB, free: 9.074 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.5504, allocations: 4 kB / 0.6217 GB, free: 9.07 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009512/0.5514, allocations: 0.6274 MB / 0.6223 GB, free: 8.344 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/0.5514, allocations: 8.25 kB / 0.6223 GB, free: 8.336 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.5517, allocations: 59.91 kB / 0.6223 GB, free: 8.277 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.5517, allocations: 4 kB / 0.6223 GB, free: 8.273 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.5517, allocations: 7.984 kB / 0.6223 GB, free: 8.266 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003209/0.552, allocations: 0.5899 MB / 0.6229 GB, free: 7.652 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.552, allocations: 7.969 kB / 0.6229 GB, free: 7.645 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004232/0.5525, allocations: 306.1 kB / 0.6232 GB, free: 7.305 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.5526, allocations: 108.8 kB / 0.6233 GB, free: 7.18 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.072e-05/0.5527, allocations: 15.11 kB / 0.6233 GB, free: 7.168 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.553, allocations: 8 kB / 0.6233 GB, free: 7.16 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.5531, allocations: 19.97 kB / 0.6234 GB, free: 7.141 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.5531, allocations: 16 kB / 0.6234 GB, free: 7.125 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001326/0.5533, allocations: 135.6 kB / 0.6235 GB, free: 6.992 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5533, allocations: 7.938 kB / 0.6235 GB, free: 6.984 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007388/0.554, allocations: 171.8 kB / 0.6237 GB, free: 6.816 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.0007943/0.5548, allocations: 271.3 kB / 0.6239 GB, free: 6.551 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007548/0.5556, allocations: 220.9 kB / 0.6241 GB, free: 6.336 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.5556, allocations: 4.562 kB / 0.6241 GB, free: 6.332 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002853/0.5559, allocations: 79.84 kB / 0.6242 GB, free: 6.254 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000857/0.5568, allocations: 71.88 kB / 0.6243 GB, free: 6.188 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.559, allocations: 0.9344 MB / 0.6252 GB, free: 5.199 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.5595, allocations: 0.7248 MB / 0.6259 GB, free: 4.445 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000437/0.5599, allocations: 83.36 kB / 0.626 GB, free: 4.363 MB / 462.1 MB Notification: Performance of SimCode: time 4.71e-07/0.5599, allocations: 0 / 0.626 GB, free: 4.363 MB / 462.1 MB Notification: Performance of Templates: time 0.01278/0.5727, allocations: 5.448 MB / 0.6313 GB, free: 14.91 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins1/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