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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 108.5 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 186.4 kB / 24.51 MB, free: 4.035 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2419/0.2419, allocations: 44.9 MB / 353.5 MB, free: 11.8 MB / 286.1 MB
"
[Timeout remaining time 179]
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=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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.CO2") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 71.86 kB / 497.7 MB, free: 0.9375 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4203/0.4222, allocations: 64.29 MB / 0.5489 GB, free: 13.11 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.247/0.6692, allocations: 150.6 MB / 0.696 GB, free: 8.176 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.01044/0.6797, allocations: 5.337 MB / 0.7012 GB, free: 2.824 MB / 0.5294 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002411/0.6799, allocations: 0 / 0.7012 GB, free: 2.824 MB / 0.5294 GB
Notification: Performance of NFTyping.typeComponents: time 0.0004373/0.6804, allocations: 55.59 kB / 0.7012 GB, free: 2.77 MB / 0.5294 GB
Notification: Performance of NFTyping.typeBindings: time 0.005856/0.6862, allocations: 1.344 MB / 0.7025 GB, free: 1.426 MB / 0.5294 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005918/0.6868, allocations: 139.3 kB / 0.7027 GB, free: 1.293 MB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 0.001006/0.6878, allocations: 402.1 kB / 0.703 GB, free: 0.8984 MB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 8.575e-05/0.6879, allocations: 17.73 kB / 0.7031 GB, free: 0.8789 MB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004329/0.6883, allocations: 167.3 kB / 0.7032 GB, free: 0.7148 MB / 0.5294 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004761/0.6888, allocations: 179.4 kB / 0.7034 GB, free: 0.5391 MB / 0.5294 GB
Notification: Performance of NFPackage.collectConstants: time 4.938e-05/0.6889, allocations: 12 kB / 0.7034 GB, free: 0.5273 MB / 0.5294 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.004135/0.693, allocations: 1.105 MB / 0.7045 GB, free: 15.43 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.6931, allocations: 47.77 kB / 0.7045 GB, free: 15.38 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 0.000228/0.6934, allocations: 119.4 kB / 0.7046 GB, free: 15.26 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.002718/0.6961, allocations: 0.8494 MB / 0.7055 GB, free: 14.41 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.6961, allocations: 4 kB / 0.7055 GB, free: 14.41 MB / 0.545 GB
Notification: Performance of FrontEnd: time 2.094e-06/0.6961, allocations: 0 / 0.7055 GB, free: 14.41 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 1.444e-05/0.6961, allocations: 0 / 0.7055 GB, free: 14.41 MB / 0.545 GB
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.001982/0.6981, allocations: 0.6177 MB / 0.7061 GB, free: 13.76 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 6.55e-05/0.6981, allocations: 12.92 kB / 0.7061 GB, free: 13.75 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0118/0.7099, allocations: 0.5859 MB / 0.7067 GB, free: 13.16 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000883/0.7108, allocations: 217.5 kB / 0.7069 GB, free: 12.92 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002243/0.711, allocations: 127.3 kB / 0.707 GB, free: 12.77 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/0.7112, allocations: 16 kB / 0.707 GB, free: 12.76 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/0.7132, allocations: 0.5665 MB / 0.7076 GB, free: 12.16 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.7132, allocations: 0 / 0.7076 GB, free: 12.16 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/0.7134, allocations: 15.98 kB / 0.7076 GB, free: 12.14 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.301e-05/0.7134, allocations: 8 kB / 0.7076 GB, free: 12.13 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002503/0.7159, allocations: 0.6299 MB / 0.7082 GB, free: 11.5 MB / 0.545 GB
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.003481/0.7194, allocations: 1.586 MB / 0.7097 GB, free: 9.797 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005782/0.72, allocations: 146.1 kB / 0.7099 GB, free: 9.648 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002392/0.7202, allocations: 72.83 kB / 0.71 GB, free: 9.574 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.001435/0.7217, allocations: 479.4 kB / 0.7104 GB, free: 9.086 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/0.7217, allocations: 38.56 kB / 0.7105 GB, free: 9.039 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=19): time 2.645e-06/0.7217, allocations: 0 / 0.7105 GB, free: 9.039 MB / 0.545 GB
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.001611/0.7233, allocations: 328.2 kB / 0.7108 GB, free: 8.715 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.009e-05/0.7234, allocations: 59.39 kB / 0.7108 GB, free: 8.645 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000283/0.7237, allocations: 183.2 kB / 0.711 GB, free: 8.457 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 7.596e-05/0.7237, allocations: 33.7 kB / 0.711 GB, free: 8.418 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.7239, allocations: 187.8 kB / 0.7112 GB, free: 8.23 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.724, allocations: 71.42 kB / 0.7113 GB, free: 8.16 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/0.7242, allocations: 102 kB / 0.7114 GB, free: 8.055 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0002126/0.7245, allocations: 330.8 kB / 0.7117 GB, free: 7.723 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/0.7247, allocations: 64.7 kB / 0.7117 GB, free: 7.66 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004691/0.7252, allocations: 271.7 kB / 0.712 GB, free: 7.301 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0007981/0.726, allocations: 369.4 kB / 0.7124 GB, free: 6.848 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.726, allocations: 0 / 0.7124 GB, free: 6.848 MB / 0.545 GB
Notification: Performance of matching and sorting (n=46) (initialization): time 0.001072/0.727, allocations: 369.5 kB / 0.7127 GB, free: 6.48 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/0.7271, allocations: 11.98 kB / 0.7127 GB, free: 6.469 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.7271, allocations: 8 kB / 0.7127 GB, free: 6.461 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 3.269e-05/0.7271, allocations: 8 kB / 0.7127 GB, free: 6.453 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006834/0.7278, allocations: 127.8 kB / 0.7129 GB, free: 6.328 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006014/0.7284, allocations: 0.6057 MB / 0.7135 GB, free: 5.699 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004164/0.7288, allocations: 43.77 kB / 0.7135 GB, free: 5.656 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.7289, allocations: 40 kB / 0.7135 GB, free: 5.617 MB / 0.545 GB
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.0002394/0.7292, allocations: 153 kB / 0.7137 GB, free: 5.461 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.7293, allocations: 19.84 kB / 0.7137 GB, free: 5.441 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.7306, allocations: 467.2 kB / 0.7141 GB, free: 4.969 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.7306, allocations: 4 kB / 0.7141 GB, free: 4.965 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.7306, allocations: 0 / 0.7141 GB, free: 4.965 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.7306, allocations: 4 kB / 0.7142 GB, free: 4.961 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.7319, allocations: 0.5356 MB / 0.7147 GB, free: 4.352 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.7319, allocations: 4.25 kB / 0.7147 GB, free: 4.348 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003072/0.7322, allocations: 63.91 kB / 0.7147 GB, free: 4.285 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/0.7322, allocations: 4 kB / 0.7147 GB, free: 4.281 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/0.7322, allocations: 7.984 kB / 0.7148 GB, free: 4.273 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005147/0.7327, allocations: 0.5976 MB / 0.7153 GB, free: 3.652 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.7327, allocations: 4.031 kB / 0.7153 GB, free: 3.648 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005821/0.7333, allocations: 301.6 kB / 0.7156 GB, free: 3.316 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.7334, allocations: 31.83 kB / 0.7157 GB, free: 3.285 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.632e-05/0.7335, allocations: 19.88 kB / 0.7157 GB, free: 3.266 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000361/0.7339, allocations: 8 kB / 0.7157 GB, free: 3.258 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.791e-05/0.734, allocations: 23.95 kB / 0.7157 GB, free: 3.234 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-05/0.734, allocations: 15.98 kB / 0.7157 GB, free: 3.219 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 0.0001815/0.7342, allocations: 135.6 kB / 0.7158 GB, free: 3.086 MB / 0.545 GB
Notification: Performance of sort global known variables: time 9e-08/0.7342, allocations: 0 / 0.7158 GB, free: 3.086 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.001151/0.7353, allocations: 167.7 kB / 0.716 GB, free: 2.922 MB / 0.545 GB
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.0009081/0.7362, allocations: 266 kB / 0.7163 GB, free: 2.66 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.000845/0.7371, allocations: 220.8 kB / 0.7165 GB, free: 2.445 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.7371, allocations: 0.5625 kB / 0.7165 GB, free: 2.445 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003266/0.7374, allocations: 87.89 kB / 0.7166 GB, free: 2.359 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009451/0.7384, allocations: 79.06 kB / 0.7166 GB, free: 2.285 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/0.7408, allocations: 0.8279 MB / 0.7174 GB, free: 1.402 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005148/0.7413, allocations: 0.7284 MB / 0.7182 GB, free: 0.6484 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 0.001066/0.7423, allocations: 382.1 kB / 0.7185 GB, free: 280 kB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000273/0.7426, allocations: 67.38 kB / 0.7186 GB, free: 212 kB / 0.545 GB
Notification: Performance of SimCode: time 1.052e-06/0.7426, allocations: 0 / 0.7186 GB, free: 212 kB / 0.545 GB
Notification: Performance of Templates: time 0.01777/0.7604, allocations: 5.857 MB / 0.7243 GB, free: 10.38 MB / 0.5606 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.makefile [Timeout 660]
(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) [Timeout 480]
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) [Timeout 660]
"Error: Could not read variable eps in file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat.
Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed!
"
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 6.531686244532466]