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.002002/0.002002, allocations: 92.22 kB / 20.21 MB, free: 4.199 MB / 18.57 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.002469/0.002469, allocations: 157.3 kB / 23.52 MB, free: 0.8945 MB / 18.57 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.477/1.477, allocations: 158.6 MB / 185.3 MB, free: 2.887 MB / 170.7 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.2241/0.2241, allocations: 32.38 MB / 270 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 180] 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 1.473e-06/1.473e-06, allocations: 0 / 347 MB, free: 9.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.976e-05/3.123e-05, allocations: 2.312 kB / 347 MB, free: 9.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3741/0.3741, allocations: 130.2 MB / 477.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00473/0.3788, allocations: 4.227 MB / 481.4 MB, free: 10.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.3789, allocations: 6.688 kB / 481.4 MB, free: 10.77 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003132/0.3792, allocations: 60.47 kB / 481.5 MB, free: 10.73 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004088/0.3833, allocations: 1.584 MB / 483.1 MB, free: 10.06 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.3836, allocations: 148.9 kB / 483.2 MB, free: 10.03 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004791/0.3841, allocations: 401.8 kB / 483.6 MB, free: 9.867 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.902e-05/0.3842, allocations: 7.25 kB / 483.6 MB, free: 9.867 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003146/0.3845, allocations: 226.3 kB / 483.8 MB, free: 9.793 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002712/0.3848, allocations: 156.9 kB / 484 MB, free: 9.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.369e-05/0.3848, allocations: 10.03 kB / 484 MB, free: 9.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002305/0.3871, allocations: 1.171 MB / 485.2 MB, free: 9.43 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.362e-05/0.3872, allocations: 44.97 kB / 485.2 MB, free: 9.414 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.3873, allocations: 85.31 kB / 485.3 MB, free: 9.395 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.3887, allocations: 1.092 MB / 486.4 MB, free: 9.035 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3887, allocations: 0 / 486.4 MB, free: 9.035 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3887, allocations: 2.719 kB / 486.4 MB, free: 9.035 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.3887, allocations: 4 kB / 486.4 MB, free: 9.031 MB / 362.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.001182/0.3899, allocations: 0.6481 MB / 487 MB, free: 8.562 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.39, allocations: 10.31 kB / 487.1 MB, free: 8.562 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006879/0.3968, allocations: 0.6988 MB / 487.8 MB, free: 8.285 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004972/0.3973, allocations: 209.8 kB / 488 MB, free: 8.113 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.3975, allocations: 227.8 kB / 488.2 MB, free: 7.859 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.35e-05/0.3976, allocations: 26.31 kB / 488.2 MB, free: 7.859 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.3986, allocations: 0.7381 MB / 488.9 MB, free: 7.355 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.3986, allocations: 6.812 kB / 488.9 MB, free: 7.352 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.948e-05/0.3987, allocations: 12.5 kB / 489 MB, free: 7.352 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.3987, allocations: 8.344 kB / 489 MB, free: 7.352 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.3998, allocations: 0.5856 MB / 489.6 MB, free: 7.203 MB / 362.7 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.001621/0.4014, allocations: 1.418 MB / 491 MB, free: 6.074 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/0.4017, allocations: 152.2 kB / 491.1 MB, free: 6.027 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.4018, allocations: 77.58 kB / 491.2 MB, free: 6.008 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001208/0.403, allocations: 0.715 MB / 491.9 MB, free: 5.691 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.4031, allocations: 35.91 kB / 491.9 MB, free: 5.652 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.502e-06/0.4031, allocations: 0 / 491.9 MB, free: 5.652 MB / 362.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=20): time 0.0009577/0.404, allocations: 341.7 kB / 492.3 MB, free: 5.562 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.404, allocations: 57.81 kB / 492.3 MB, free: 5.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.4042, allocations: 192.4 kB / 492.5 MB, free: 5.363 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.704e-05/0.4042, allocations: 35.67 kB / 492.6 MB, free: 5.328 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.821e-05/0.4043, allocations: 183.1 kB / 492.7 MB, free: 5.168 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.732e-05/0.4043, allocations: 73.66 kB / 492.8 MB, free: 5.113 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.854e-05/0.4044, allocations: 88.83 kB / 492.9 MB, free: 5.086 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.677e-05/0.4045, allocations: 323.7 kB / 493.2 MB, free: 4.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.4046, allocations: 65.95 kB / 493.3 MB, free: 4.758 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.4048, allocations: 260.9 kB / 493.5 MB, free: 4.492 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004042/0.4052, allocations: 375.2 kB / 493.9 MB, free: 4.195 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.4052, allocations: 0 / 493.9 MB, free: 4.195 MB / 362.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005568/0.4058, allocations: 385.5 kB / 494.3 MB, free: 4.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.4058, allocations: 10.53 kB / 494.3 MB, free: 4.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.4058, allocations: 5.531 kB / 494.3 MB, free: 4.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.896e-05/0.4058, allocations: 10.69 kB / 494.3 MB, free: 4.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003821/0.4062, allocations: 124.8 kB / 494.4 MB, free: 4.043 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002394/0.4065, allocations: 0.6071 MB / 495 MB, free: 3.445 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.4067, allocations: 44.06 kB / 495.1 MB, free: 3.418 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.646e-05/0.4067, allocations: 44.62 kB / 495.1 MB, free: 3.414 MB / 362.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 0.000108/0.4068, allocations: 145.5 kB / 495.3 MB, free: 3.285 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.065e-05/0.4069, allocations: 24.47 kB / 495.3 MB, free: 3.277 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006288/0.4075, allocations: 339.2 kB / 495.6 MB, free: 3.113 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.4075, allocations: 2.781 kB / 495.6 MB, free: 3.113 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4075, allocations: 0 / 495.6 MB, free: 3.113 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.4075, allocations: 3.984 kB / 495.6 MB, free: 3.109 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005838/0.4081, allocations: 457.9 kB / 496.1 MB, free: 2.789 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.4081, allocations: 6.5 kB / 496.1 MB, free: 2.785 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/0.4083, allocations: 60.86 kB / 496.1 MB, free: 2.773 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.4083, allocations: 0 / 496.1 MB, free: 2.773 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.4084, allocations: 16.62 kB / 496.2 MB, free: 2.766 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002106/0.4086, allocations: 0.5986 MB / 496.7 MB, free: 2.168 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.4086, allocations: 3.984 kB / 496.8 MB, free: 2.164 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003034/0.4089, allocations: 280.5 kB / 497 MB, free: 1.969 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.426e-05/0.409, allocations: 30.09 kB / 497.1 MB, free: 1.949 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.162e-05/0.409, allocations: 6.094 kB / 497.1 MB, free: 1.949 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.4092, allocations: 12.48 kB / 497.1 MB, free: 1.945 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.4093, allocations: 12.11 kB / 497.1 MB, free: 1.941 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.718e-05/0.4093, allocations: 24.86 kB / 497.1 MB, free: 1.934 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.285e-05/0.4094, allocations: 136 kB / 497.2 MB, free: 1.844 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4094, allocations: 0 / 497.2 MB, free: 1.844 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007358/0.4101, allocations: 205.9 kB / 497.4 MB, free: 1.809 MB / 362.7 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.0007954/0.4109, allocations: 375.4 kB / 497.8 MB, free: 1.633 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004888/0.4114, allocations: 219.7 kB / 498 MB, free: 1.582 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.4114, allocations: 6.688 kB / 498 MB, free: 1.582 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001797/0.4116, allocations: 84.33 kB / 498.1 MB, free: 1.559 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005815/0.4122, allocations: 83.86 kB / 498.2 MB, free: 1.527 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002648/0.4148, allocations: 1.932 MB / 0.4884 GB, free: 0.6133 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.787e-05/0.4149, allocations: 111.4 kB / 0.4885 GB, free: 0.5195 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003557/0.4153, allocations: 102.7 kB / 0.4886 GB, free: 476 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.4154, allocations: 45.05 kB / 0.4887 GB, free: 456 kB / 362.7 MB Notification: Performance of SimCode: time 6.12e-07/0.4154, allocations: 0 / 0.4887 GB, free: 456 kB / 362.7 MB Notification: Performance of Templates: time 0.01331/0.4287, allocations: 6.701 MB / 0.4952 GB, free: 11.32 MB / 378.7 MB " [Timeout remaining time 660] 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: 5.59410902496893]