Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 77.62 kB / 19.93 MB, free: 1.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 165.8 kB / 23.21 MB, free: 4.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.585/1.585, allocations: 158.6 MB / 185 MB, free: 6.391 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2223/0.2223, allocations: 32.37 MB / 269.6 MB, free: 4.664 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.CO2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 407.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.231e-05/3.441e-05, allocations: 2.281 kB / 407.4 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4452/0.4452, allocations: 130.2 MB / 0.525 GB, free: 9.176 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007509/0.4527, allocations: 4.225 MB / 0.5291 GB, free: 5.918 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002689/0.453, allocations: 2.719 kB / 0.5291 GB, free: 5.918 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004582/0.4535, allocations: 59.78 kB / 0.5292 GB, free: 5.867 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006306/0.4598, allocations: 1.595 MB / 0.5308 GB, free: 4.715 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004657/0.4602, allocations: 148.2 kB / 0.5309 GB, free: 4.621 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000881/0.4611, allocations: 404.5 kB / 0.5313 GB, free: 4.391 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.994e-05/0.4612, allocations: 18.05 kB / 0.5313 GB, free: 4.383 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004239/0.4616, allocations: 225.4 kB / 0.5315 GB, free: 4.258 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003897/0.462, allocations: 159.8 kB / 0.5317 GB, free: 4.188 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.204e-05/0.4621, allocations: 7.719 kB / 0.5317 GB, free: 4.188 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003668/0.4657, allocations: 1.161 MB / 0.5328 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.4659, allocations: 45.22 kB / 0.5329 GB, free: 3.586 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000172/0.466, allocations: 82.48 kB / 0.5329 GB, free: 3.555 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002561/0.4686, allocations: 1.099 MB / 0.534 GB, free: 2.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.4686, allocations: 5.344 kB / 0.534 GB, free: 2.926 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4686, allocations: 0 / 0.534 GB, free: 2.926 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.4686, allocations: 2.906 kB / 0.534 GB, free: 2.926 MB / 414.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.001646/0.4702, allocations: 0.6397 MB / 0.5346 GB, free: 2.422 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.4703, allocations: 10.88 kB / 0.5347 GB, free: 2.422 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008092/0.4784, allocations: 0.6173 MB / 0.5353 GB, free: 2.137 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007682/0.4791, allocations: 213.7 kB / 0.5355 GB, free: 1.934 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002454/0.4794, allocations: 229.2 kB / 0.5357 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.739e-05/0.4795, allocations: 20.66 kB / 0.5357 GB, free: 1.664 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.481, allocations: 0.7393 MB / 0.5364 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.481, allocations: 0 / 0.5364 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.732e-05/0.4811, allocations: 12.81 kB / 0.5364 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.915e-05/0.4811, allocations: 6.125 kB / 0.5364 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001576/0.4827, allocations: 0.6226 MB / 0.537 GB, free: 0.7266 MB / 414.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.002374/0.4851, allocations: 1.4 MB / 0.5384 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003931/0.4855, allocations: 149.3 kB / 0.5386 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.4856, allocations: 83.28 kB / 0.5386 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001438/0.4871, allocations: 0.7083 MB / 0.5393 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.149e-05/0.4871, allocations: 37.62 kB / 0.5394 GB, free: 14.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=20): time 1.633e-06/0.4871, allocations: 0 / 0.5394 GB, free: 14.89 MB / 430.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=20): time 0.001149/0.4883, allocations: 340.7 kB / 0.5397 GB, free: 14.73 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.4883, allocations: 58.06 kB / 0.5397 GB, free: 14.67 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.4885, allocations: 188.8 kB / 0.5399 GB, free: 14.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.389e-05/0.4886, allocations: 32.48 kB / 0.54 GB, free: 14.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.4887, allocations: 186.4 kB / 0.5401 GB, free: 14.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.75e-05/0.4888, allocations: 73.69 kB / 0.5402 GB, free: 14.24 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/0.4889, allocations: 83.86 kB / 0.5403 GB, free: 14.19 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002456/0.4892, allocations: 331.8 kB / 0.5406 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.4893, allocations: 61.69 kB / 0.5407 GB, free: 13.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003264/0.4897, allocations: 269.4 kB / 0.5409 GB, free: 13.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005576/0.4902, allocations: 364.8 kB / 0.5413 GB, free: 13.19 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.4902, allocations: 2.344 kB / 0.5413 GB, free: 13.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006694/0.4909, allocations: 379.2 kB / 0.5416 GB, free: 13 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.4909, allocations: 8.344 kB / 0.5416 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.4909, allocations: 5.969 kB / 0.5416 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/0.4909, allocations: 10.94 kB / 0.5417 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004166/0.4914, allocations: 121 kB / 0.5418 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000565/0.4919, allocations: 0.6067 MB / 0.5424 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002773/0.4922, allocations: 45.08 kB / 0.5424 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.242e-05/0.4923, allocations: 52.2 kB / 0.5425 GB, free: 12.29 MB / 430.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.0002108/0.4925, allocations: 141.7 kB / 0.5426 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.044e-05/0.4926, allocations: 15.91 kB / 0.5426 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008254/0.4934, allocations: 327.3 kB / 0.5429 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.4934, allocations: 4 kB / 0.5429 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.4934, allocations: 0 / 0.5429 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4934, allocations: 0 / 0.5429 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.4944, allocations: 473.9 kB / 0.5434 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4944, allocations: 160 / 0.5434 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002338/0.4947, allocations: 64.83 kB / 0.5434 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/0.4947, allocations: 4 kB / 0.5434 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.4947, allocations: 7.938 kB / 0.5434 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004747/0.4952, allocations: 0.5977 MB / 0.544 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4952, allocations: 0 / 0.544 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004495/0.4956, allocations: 279.5 kB / 0.5443 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.071e-05/0.4957, allocations: 27.88 kB / 0.5443 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.894e-05/0.4958, allocations: 5.062 kB / 0.5443 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.496, allocations: 20.08 kB / 0.5443 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.4961, allocations: 11.98 kB / 0.5444 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.388e-05/0.4961, allocations: 15.98 kB / 0.5444 GB, free: 10.19 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001337/0.4962, allocations: 139.1 kB / 0.5445 GB, free: 10.05 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4962, allocations: 0 / 0.5445 GB, free: 10.05 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009897/0.4972, allocations: 207.5 kB / 0.5447 GB, free: 9.848 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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.000959/0.4982, allocations: 385.4 kB / 0.5451 GB, free: 9.477 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006122/0.4988, allocations: 229.7 kB / 0.5453 GB, free: 9.254 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4988, allocations: 0 / 0.5453 GB, free: 9.254 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002129/0.499, allocations: 79.89 kB / 0.5454 GB, free: 9.176 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006041/0.4996, allocations: 70.09 kB / 0.5454 GB, free: 9.113 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003714/0.5033, allocations: 1.93 MB / 0.5473 GB, free: 7.137 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001463/0.5035, allocations: 116.6 kB / 0.5474 GB, free: 7.008 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000382/0.5039, allocations: 100.4 kB / 0.5475 GB, free: 6.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.504, allocations: 40.48 kB / 0.5476 GB, free: 6.871 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.504, allocations: 0 / 0.5476 GB, free: 6.871 MB / 430.1 MB Notification: Performance of Templates: time 0.01436/0.5183, allocations: 6.674 MB / 0.5541 GB, free: 248 kB / 430.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.10388221219182]