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.001729/0.001729, allocations: 85.91 kB / 22.21 MB, free: 2.285 MB / 18.57 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.001405/0.001405, allocations: 159.2 kB / 25.61 MB, free: 8.582 MB / 18.57 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 0.9797/0.9797, allocations: 177 MB / 205.9 MB, free: 4.457 MB / 186.7 MB " [Timeout remaining time 179] 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.1669/0.1669, allocations: 34.88 MB / 297.4 MB, free: 13.35 MB / 282.7 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.[0-9,]+.|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.[0-9,]+.|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 1.523e-06/1.523e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.834e-05, allocations: 4.5 kB / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3461/0.3462, allocations: 143.3 MB / 0.5111 GB, free: 16.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004091/0.3503, allocations: 5.374 MB / 0.5164 GB, free: 16.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.3504, allocations: 0 / 0.5164 GB, free: 16.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.3507, allocations: 55.52 kB / 0.5164 GB, free: 16.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003269/0.3539, allocations: 1.393 MB / 0.5178 GB, free: 16.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.3542, allocations: 149.7 kB / 0.5179 GB, free: 16.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000507/0.3547, allocations: 430.5 kB / 0.5183 GB, free: 16.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.88e-05/0.3548, allocations: 10.84 kB / 0.5183 GB, free: 16.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002808/0.355, allocations: 233.1 kB / 0.5186 GB, free: 16.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.3553, allocations: 166.2 kB / 0.5187 GB, free: 16.1 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.3553, allocations: 6.625 kB / 0.5187 GB, free: 16.1 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001611/0.3569, allocations: 0.9939 MB / 0.5197 GB, free: 16.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.5e-05/0.357, allocations: 50.72 kB / 0.5197 GB, free: 16.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.747e-05/0.3571, allocations: 82.52 kB / 0.5198 GB, free: 16.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009776/0.358, allocations: 0.9331 MB / 0.5207 GB, free: 16.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.358, allocations: 3.016 kB / 0.5207 GB, free: 16.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.358, allocations: 0 / 0.5207 GB, free: 16.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.358, allocations: 0 / 0.5207 GB, free: 16.02 MB / 410.7 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.0008691/0.3589, allocations: 0.7216 MB / 0.5214 GB, free: 15.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.359, allocations: 11.53 kB / 0.5214 GB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003804/0.3628, allocations: 0.6626 MB / 0.5221 GB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.363, allocations: 201.7 kB / 0.5223 GB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.32e-05/0.3631, allocations: 227.8 kB / 0.5225 GB, free: 15.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.331e-05/0.3632, allocations: 36.17 kB / 0.5225 GB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005653/0.3637, allocations: 0.6899 MB / 0.5232 GB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.3638, allocations: 2.344 kB / 0.5232 GB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.008e-05/0.3638, allocations: 12.72 kB / 0.5232 GB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/0.3638, allocations: 12.72 kB / 0.5232 GB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004849/0.3643, allocations: 442.6 kB / 0.5237 GB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.3654, allocations: 1.789 MB / 0.5254 GB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.3656, allocations: 132 kB / 0.5255 GB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.284e-05/0.3657, allocations: 52.39 kB / 0.5256 GB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005106/0.3662, allocations: 0.5132 MB / 0.5261 GB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.3662, allocations: 39.44 kB / 0.5261 GB, free: 12.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.312e-06/0.3662, allocations: 0 / 0.5261 GB, free: 12.92 MB / 410.7 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.0005254/0.3667, allocations: 284.5 kB / 0.5264 GB, free: 12.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.994e-05/0.3667, allocations: 53.89 kB / 0.5264 GB, free: 12.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.658e-05/0.3668, allocations: 254.3 kB / 0.5267 GB, free: 12.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.3669, allocations: 28.89 kB / 0.5267 GB, free: 12.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.975e-05/0.3669, allocations: 244.8 kB / 0.5269 GB, free: 12.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.367, allocations: 67.84 kB / 0.527 GB, free: 12.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.838e-05/0.367, allocations: 105.2 kB / 0.5271 GB, free: 12.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.447e-05/0.3671, allocations: 0.497 MB / 0.5276 GB, free: 11.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.985e-05/0.3671, allocations: 46.8 kB / 0.5276 GB, free: 11.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.3672, allocations: 328.5 kB / 0.528 GB, free: 11.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/0.3674, allocations: 423.5 kB / 0.5284 GB, free: 11.08 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3675, allocations: 0 / 0.5284 GB, free: 11.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003129/0.3678, allocations: 335.4 kB / 0.5287 GB, free: 11.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.3678, allocations: 16.78 kB / 0.5287 GB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.3678, allocations: 9.188 kB / 0.5287 GB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3678, allocations: 8.594 kB / 0.5287 GB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.368, allocations: 128 kB / 0.5288 GB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001771/0.3682, allocations: 0.9107 MB / 0.5297 GB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.3683, allocations: 40.98 kB / 0.5298 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/0.3683, allocations: 41.11 kB / 0.5298 GB, free: 10.11 MB / 410.7 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 7.732e-05/0.3684, allocations: 190.3 kB / 0.53 GB, free: 9.934 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.517e-05/0.3685, allocations: 29.36 kB / 0.53 GB, free: 9.922 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004271/0.3689, allocations: 451.3 kB / 0.5304 GB, free: 9.809 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3689, allocations: 3.344 kB / 0.5304 GB, free: 9.809 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.3689, allocations: 3.984 kB / 0.5304 GB, free: 9.805 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3689, allocations: 5.922 kB / 0.5305 GB, free: 9.801 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003825/0.3693, allocations: 0.5129 MB / 0.531 GB, free: 9.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3693, allocations: 1.094 kB / 0.531 GB, free: 9.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.3694, allocations: 57.7 kB / 0.531 GB, free: 9.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.3694, allocations: 2.219 kB / 0.531 GB, free: 9.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.3694, allocations: 15.31 kB / 0.531 GB, free: 9.426 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001338/0.3695, allocations: 0.9121 MB / 0.5319 GB, free: 8.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.3695, allocations: 2.938 kB / 0.5319 GB, free: 8.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.3697, allocations: 352.8 kB / 0.5323 GB, free: 8.227 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.356e-05/0.3698, allocations: 32.3 kB / 0.5323 GB, free: 8.219 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.3698, allocations: 3.953 kB / 0.5323 GB, free: 8.219 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.3699, allocations: 12.19 kB / 0.5323 GB, free: 8.219 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.711e-05/0.3699, allocations: 25.08 kB / 0.5323 GB, free: 8.215 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.3699, allocations: 16.48 kB / 0.5323 GB, free: 8.215 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.34e-05/0.37, allocations: 172 kB / 0.5325 GB, free: 8.094 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.37, allocations: 4.062 kB / 0.5325 GB, free: 8.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004057/0.3704, allocations: 169 kB / 0.5327 GB, free: 8.066 MB / 410.7 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.000353/0.3708, allocations: 289.1 kB / 0.5329 GB, free: 7.945 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002564/0.371, allocations: 207.3 kB / 0.5331 GB, free: 7.926 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.371, allocations: 4.062 kB / 0.5331 GB, free: 7.926 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.074e-05/0.3711, allocations: 80.92 kB / 0.5332 GB, free: 7.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.3715, allocations: 85.33 kB / 0.5333 GB, free: 7.902 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.3725, allocations: 0.8771 MB / 0.5342 GB, free: 7.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.472e-05/0.3726, allocations: 78.25 kB / 0.5342 GB, free: 7.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003716/0.3729, allocations: 381 kB / 0.5346 GB, free: 7.441 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/0.3732, allocations: 184.5 kB / 0.5348 GB, free: 7.371 MB / 410.7 MB Notification: Performance of SimCode: time 7.11e-07/0.3732, allocations: 4 kB / 0.5348 GB, free: 7.367 MB / 410.7 MB Notification: Performance of Templates: time 0.006871/0.38, allocations: 6.874 MB / 0.5415 GB, free: 4.852 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","",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: 3.983182840049267]