Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.001837/0.001837, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 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.002133/0.002133, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 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 1.61/1.61, allocations: 230.3 MB / 258 MB, free: 8.23 MB / 206.1 MB
"
[Timeout remaining time 178]
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.2527/0.2527, allocations: 46.89 MB / 361.3 MB, free: 4.426 MB / 286.1 MB
"
[Timeout remaining time 179]
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.LinearWater_pT_Ambient,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_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient")
translateModel(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,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_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002373/0.002373, allocations: 79.86 kB / 0.4971 GB, free: 7.539 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4926/0.4949, allocations: 66.03 MB / 0.5616 GB, free: 4.605 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03817/0.5331, allocations: 27.15 MB / 0.5881 GB, free: 9.348 MB / 430.1 MB
Notification: Performance of NFInst.instExpressions: time 0.004151/0.5373, allocations: 2.971 MB / 0.591 GB, free: 6.367 MB / 430.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.5374, allocations: 0 / 0.591 GB, free: 6.367 MB / 430.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003556/0.5377, allocations: 51.66 kB / 0.591 GB, free: 6.316 MB / 430.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002487/0.5402, allocations: 0.7461 MB / 0.5918 GB, free: 5.566 MB / 430.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000398/0.5406, allocations: 135.3 kB / 0.5919 GB, free: 5.438 MB / 430.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0006264/0.5412, allocations: 378.1 kB / 0.5923 GB, free: 5.066 MB / 430.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 7.061e-05/0.5413, allocations: 9.812 kB / 0.5923 GB, free: 5.059 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.04409/0.5854, allocations: 15.42 MB / 0.6073 GB, free: 5.531 MB / 446.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000512/0.5859, allocations: 155.4 kB / 0.6075 GB, free: 5.379 MB / 446.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.181e-05/0.586, allocations: 8 kB / 0.6075 GB, free: 5.371 MB / 446.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.01019/0.5961, allocations: 3.422 MB / 0.6108 GB, free: 1.918 MB / 446.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.5963, allocations: 47.81 kB / 0.6109 GB, free: 1.871 MB / 446.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002107/0.5965, allocations: 111.5 kB / 0.611 GB, free: 1.762 MB / 446.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001136/0.5976, allocations: 470.5 kB / 0.6114 GB, free: 1.301 MB / 446.1 MB
Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.5976, allocations: 4 kB / 0.6114 GB, free: 1.297 MB / 446.1 MB
Notification: Performance of FrontEnd: time 2.886e-06/0.5976, allocations: 0 / 0.6114 GB, free: 1.297 MB / 446.1 MB
Notification: Performance of Transformations before backend: time 6.642e-06/0.5977, allocations: 0 / 0.6114 GB, free: 1.297 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.001413/0.5991, allocations: 0.5324 MB / 0.6119 GB, free: 0.7344 MB / 446.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.5991, allocations: 8.031 kB / 0.612 GB, free: 0.7266 MB / 446.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000172/0.5993, allocations: 28.8 kB / 0.612 GB, free: 0.6992 MB / 446.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000295/0.5996, allocations: 166.2 kB / 0.6121 GB, free: 0.5117 MB / 446.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/0.5997, allocations: 127.9 kB / 0.6123 GB, free: 372 kB / 446.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.423e-05/0.5998, allocations: 24.12 kB / 0.6123 GB, free: 348 kB / 446.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006152/0.6004, allocations: 334.8 kB / 0.6126 GB, free: 15.98 MB / 462.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.6004, allocations: 3.938 kB / 0.6126 GB, free: 15.98 MB / 462.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.224e-05/0.6004, allocations: 16 kB / 0.6126 GB, free: 15.96 MB / 462.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.356e-05/0.6005, allocations: 8 kB / 0.6126 GB, free: 15.96 MB / 462.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009279/0.6014, allocations: 0.7625 MB / 0.6134 GB, free: 15.2 MB / 462.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.00187/0.6033, allocations: 1.268 MB / 0.6146 GB, free: 13.81 MB / 462.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004245/0.6037, allocations: 159.7 kB / 0.6148 GB, free: 13.64 MB / 462.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.6038, allocations: 81.48 kB / 0.6148 GB, free: 13.56 MB / 462.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.001626/0.6054, allocations: 0.7387 MB / 0.6156 GB, free: 12.8 MB / 462.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.356e-05/0.6055, allocations: 30.56 kB / 0.6156 GB, free: 12.77 MB / 462.1 MB
Notification: Performance of pre-optimization done (n=11): time 1.864e-06/0.6055, allocations: 0 / 0.6156 GB, free: 12.77 MB / 462.1 MB
Notification: Performance of matching and sorting (n=11): time 0.0003366/0.6058, allocations: 121.4 kB / 0.6157 GB, free: 12.64 MB / 462.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.6059, allocations: 55.34 kB / 0.6158 GB, free: 12.57 MB / 462.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.6061, allocations: 224.9 kB / 0.616 GB, free: 12.35 MB / 462.1 MB
Notification: Performance of collectPreVariables (initialization): time 7.353e-05/0.6062, allocations: 29.7 kB / 0.616 GB, free: 12.31 MB / 462.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002297/0.6064, allocations: 227.4 kB / 0.6162 GB, free: 12.09 MB / 462.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.649e-05/0.6065, allocations: 43.69 kB / 0.6163 GB, free: 12.04 MB / 462.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.6066, allocations: 90.02 kB / 0.6164 GB, free: 11.95 MB / 462.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001988/0.6068, allocations: 326.8 kB / 0.6167 GB, free: 11.62 MB / 462.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.638e-05/0.6069, allocations: 48.83 kB / 0.6167 GB, free: 11.57 MB / 462.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003798/0.6073, allocations: 343.2 kB / 0.617 GB, free: 11.09 MB / 462.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005074/0.6078, allocations: 444.6 kB / 0.6175 GB, free: 10.51 MB / 462.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.6078, allocations: 4 kB / 0.6175 GB, free: 10.5 MB / 462.1 MB
Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005848/0.6083, allocations: 377.7 kB / 0.6178 GB, free: 10.13 MB / 462.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.6084, allocations: 11.94 kB / 0.6178 GB, free: 10.12 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.6084, allocations: 12 kB / 0.6178 GB, free: 10.11 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 3.376e-05/0.6084, allocations: 19.94 kB / 0.6179 GB, free: 10.09 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.6087, allocations: 99.77 kB / 0.618 GB, free: 9.988 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.371e-05/0.6087, allocations: 19.92 kB / 0.618 GB, free: 9.969 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/0.6089, allocations: 55.62 kB / 0.618 GB, free: 9.914 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.981e-05/0.609, allocations: 31.98 kB / 0.6181 GB, free: 9.883 MB / 462.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 48
 * 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 (51):
 * Single equations (assignments): 50
 * Array equations: 1
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0001706/0.6092, allocations: 159.1 kB / 0.6182 GB, free: 9.719 MB / 462.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.341e-05/0.6092, allocations: 19.86 kB / 0.6182 GB, free: 9.699 MB / 462.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003985/0.6096, allocations: 141 kB / 0.6184 GB, free: 9.551 MB / 462.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.6096, allocations: 8 kB / 0.6184 GB, free: 9.543 MB / 462.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.6096, allocations: 0 / 0.6184 GB, free: 9.543 MB / 462.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.6096, allocations: 3.938 kB / 0.6184 GB, free: 9.539 MB / 462.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005558/0.6102, allocations: 380 kB / 0.6187 GB, free: 9.109 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.6102, allocations: 0 / 0.6187 GB, free: 9.109 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.871e-05/0.6103, allocations: 15.98 kB / 0.6188 GB, free: 9.094 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.6103, allocations: 96 / 0.6188 GB, free: 9.094 MB / 462.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.6103, allocations: 12 kB / 0.6188 GB, free: 9.082 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.992e-06/0.6103, allocations: 3.938 kB / 0.6188 GB, free: 9.078 MB / 462.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6103, allocations: 0 / 0.6188 GB, free: 9.078 MB / 462.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.6105, allocations: 213.9 kB / 0.619 GB, free: 8.844 MB / 462.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.819e-05/0.6106, allocations: 11.91 kB / 0.619 GB, free: 8.832 MB / 462.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.138e-05/0.6106, allocations: 15.92 kB / 0.619 GB, free: 8.816 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.6108, allocations: 11.94 kB / 0.619 GB, free: 8.805 MB / 462.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/0.6108, allocations: 7.984 kB / 0.619 GB, free: 8.797 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.6108, allocations: 4 kB / 0.619 GB, free: 8.793 MB / 462.1 MB
Notification: Performance of sorting global known variables: time 0.0001597/0.611, allocations: 156.5 kB / 0.6192 GB, free: 8.645 MB / 462.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.611, allocations: 0 / 0.6192 GB, free: 8.645 MB / 462.1 MB
Notification: Performance of remove unused functions: time 0.0005416/0.6115, allocations: 87.89 kB / 0.6193 GB, free: 8.559 MB / 462.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 4
 * 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 (9):
 * Single equations (assignments): 8
 * Array equations: 1
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003794/0.6119, allocations: 159.1 kB / 0.6194 GB, free: 8.395 MB / 462.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003517/0.6123, allocations: 174.4 kB / 0.6196 GB, free: 8.227 MB / 462.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6123, allocations: 4.125 kB / 0.6196 GB, free: 8.223 MB / 462.1 MB
Notification: Performance of simCode: created simulation system equations: time 3.758e-05/0.6123, allocations: 19.88 kB / 0.6196 GB, free: 8.203 MB / 462.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.6128, allocations: 47.14 kB / 0.6196 GB, free: 8.16 MB / 462.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.614, allocations: 0.5437 MB / 0.6202 GB, free: 7.578 MB / 462.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005129/0.6145, allocations: 0.7245 MB / 0.6209 GB, free: 6.824 MB / 462.1 MB
Notification: Performance of simCode: alias equations: time 0.0001775/0.6146, allocations: 58.89 kB / 0.6209 GB, free: 6.766 MB / 462.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.654e-05/0.6147, allocations: 23.44 kB / 0.621 GB, free: 6.742 MB / 462.1 MB
Notification: Performance of SimCode: time 2.91e-07/0.6147, allocations: 0 / 0.621 GB, free: 6.742 MB / 462.1 MB
Notification: Performance of Templates: time 0.008292/0.623, allocations: 3.335 MB / 0.6242 GB, free: 3.422 MB / 462.1 MB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
"Error: Could not read variable eps in file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat.
Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat failed!
"
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 5.8784662475809455]