Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.001836/0.001836, allocations: 109.8 kB / 19.69 MB, free: 2.199 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.002156/0.002156, allocations: 187.9 kB / 22.98 MB, free: 5.062 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.77/1.77, allocations: 207.6 MB / 233.7 MB, free: 9.996 MB / 190.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.2555/0.2555, allocations: 44.24 MB / 330.2 MB, free: 9.547 MB / 270.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.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.LinearColdWater,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.LinearColdWater")
translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,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.LinearColdWater") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 80.39 kB / 468 MB, free: 3.992 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1632, allocations: 61.04 MB / 0.5166 GB, free: 6.82 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.007223/0.1704, allocations: 4.599 MB / 0.5211 GB, free: 2.184 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.005154/0.1756, allocations: 4.037 MB / 0.5251 GB, free: 14.14 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000202/0.1758, allocations: 0 / 0.5251 GB, free: 14.14 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000381/0.1762, allocations: 51.66 kB / 0.5251 GB, free: 14.09 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002703/0.1789, allocations: 0.7461 MB / 0.5258 GB, free: 13.34 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004185/0.1793, allocations: 127.8 kB / 0.526 GB, free: 13.21 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0007709/0.1801, allocations: 382.1 kB / 0.5263 GB, free: 12.84 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 7.039e-05/0.1801, allocations: 9.812 kB / 0.5263 GB, free: 12.82 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002549/0.1804, allocations: 143.5 kB / 0.5265 GB, free: 12.68 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002846/0.1807, allocations: 155.4 kB / 0.5266 GB, free: 12.53 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.33e-05/0.1807, allocations: 8 kB / 0.5266 GB, free: 12.52 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001316/0.182, allocations: 447.4 kB / 0.5271 GB, free: 12.09 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.1821, allocations: 47.75 kB / 0.5271 GB, free: 12.04 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.1823, allocations: 103.6 kB / 0.5272 GB, free: 11.94 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0009844/0.1833, allocations: 470.5 kB / 0.5276 GB, free: 11.48 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.1833, allocations: 4 kB / 0.5277 GB, free: 11.47 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.533e-06/0.1833, allocations: 3.938 kB / 0.5277 GB, free: 11.47 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 6.532e-06/0.1833, allocations: 3.938 kB / 0.5277 GB, free: 11.46 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.001279/0.1846, allocations: 0.5286 MB / 0.5282 GB, free: 10.9 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.1846, allocations: 12.03 kB / 0.5282 GB, free: 10.89 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/0.1848, allocations: 32.73 kB / 0.5282 GB, free: 10.86 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003909/0.1852, allocations: 166.2 kB / 0.5284 GB, free: 10.67 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001559/0.1853, allocations: 123.9 kB / 0.5285 GB, free: 10.53 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.736e-05/0.1854, allocations: 24.38 kB / 0.5285 GB, free: 10.5 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000596/0.186, allocations: 338.8 kB / 0.5288 GB, free: 10.15 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.186, allocations: 0 / 0.5288 GB, free: 10.15 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.391e-05/0.186, allocations: 8 kB / 0.5288 GB, free: 10.14 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.368e-05/0.186, allocations: 8 kB / 0.5289 GB, free: 10.13 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009299/0.187, allocations: 0.7547 MB / 0.5296 GB, free: 9.375 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.00164/0.1886, allocations: 1.28 MB / 0.5308 GB, free: 7.984 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003806/0.189, allocations: 155.8 kB / 0.531 GB, free: 7.824 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.1892, allocations: 81.42 kB / 0.5311 GB, free: 7.742 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.001662/0.1908, allocations: 0.7426 MB / 0.5318 GB, free: 6.98 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.1909, allocations: 34.56 kB / 0.5318 GB, free: 6.938 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=11): time 1.703e-06/0.1909, allocations: 4 kB / 0.5318 GB, free: 6.934 MB / 414.1 MB
Notification: Performance of matching and sorting (n=11): time 0.0003516/0.1912, allocations: 117.8 kB / 0.5319 GB, free: 6.812 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.1913, allocations: 51.41 kB / 0.532 GB, free: 6.75 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.1915, allocations: 223.9 kB / 0.5322 GB, free: 6.523 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.1915, allocations: 29.7 kB / 0.5322 GB, free: 6.488 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.1917, allocations: 227.4 kB / 0.5324 GB, free: 6.262 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.869e-05/0.1917, allocations: 39.69 kB / 0.5325 GB, free: 6.223 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.1919, allocations: 90.03 kB / 0.5326 GB, free: 6.129 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001561/0.192, allocations: 330.8 kB / 0.5329 GB, free: 5.797 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.868e-05/0.1921, allocations: 48.83 kB / 0.5329 GB, free: 5.746 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003754/0.1925, allocations: 343.2 kB / 0.5333 GB, free: 5.266 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005516/0.193, allocations: 444.6 kB / 0.5337 GB, free: 4.684 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.193, allocations: 0 / 0.5337 GB, free: 4.684 MB / 414.1 MB
Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005996/0.1936, allocations: 385.1 kB / 0.5341 GB, free: 4.301 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.1937, allocations: 8 kB / 0.5341 GB, free: 4.293 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/0.1937, allocations: 12 kB / 0.5341 GB, free: 4.281 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 3.325e-05/0.1937, allocations: 20.75 kB / 0.5341 GB, free: 4.262 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.194, allocations: 99.83 kB / 0.5342 GB, free: 4.164 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.76e-05/0.194, allocations: 31.84 kB / 0.5342 GB, free: 4.133 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/0.1942, allocations: 55.62 kB / 0.5343 GB, free: 4.078 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.923e-05/0.1943, allocations: 28 kB / 0.5343 GB, free: 4.051 MB / 414.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.0001588/0.1944, allocations: 149.6 kB / 0.5344 GB, free: 3.895 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.328e-05/0.1945, allocations: 19.89 kB / 0.5345 GB, free: 3.875 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003227/0.1948, allocations: 144.6 kB / 0.5346 GB, free: 3.723 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.1948, allocations: 3.938 kB / 0.5346 GB, free: 3.719 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1948, allocations: 4 kB / 0.5346 GB, free: 3.715 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1948, allocations: 0 / 0.5346 GB, free: 3.715 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005316/0.1954, allocations: 395.8 kB / 0.535 GB, free: 3.27 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1954, allocations: 0 / 0.535 GB, free: 3.27 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.657e-05/0.1954, allocations: 12 kB / 0.535 GB, free: 3.258 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1954, allocations: 96 / 0.535 GB, free: 3.258 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.1954, allocations: 3.938 kB / 0.535 GB, free: 3.254 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.1955, allocations: 7.938 kB / 0.535 GB, free: 3.246 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1955, allocations: 0 / 0.535 GB, free: 3.246 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.1957, allocations: 210 kB / 0.5352 GB, free: 3.016 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.652e-05/0.1958, allocations: 19.86 kB / 0.5352 GB, free: 2.996 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.376e-05/0.1958, allocations: 15.92 kB / 0.5352 GB, free: 2.98 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.1959, allocations: 4 kB / 0.5352 GB, free: 2.977 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.726e-05/0.196, allocations: 7.922 kB / 0.5353 GB, free: 2.969 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.196, allocations: 4 kB / 0.5353 GB, free: 2.965 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001573/0.1961, allocations: 160.5 kB / 0.5354 GB, free: 2.805 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.1961, allocations: 0 / 0.5354 GB, free: 2.805 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0005238/0.1967, allocations: 91.94 kB / 0.5355 GB, free: 2.715 MB / 414.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.0003424/0.197, allocations: 151.1 kB / 0.5356 GB, free: 2.555 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003492/0.1974, allocations: 174.2 kB / 0.5358 GB, free: 2.387 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.1974, allocations: 0 / 0.5358 GB, free: 2.387 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 3.931e-05/0.1974, allocations: 16 kB / 0.5358 GB, free: 2.371 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004712/0.1979, allocations: 52.88 kB / 0.5359 GB, free: 2.32 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.1992, allocations: 0.5398 MB / 0.5364 GB, free: 1.746 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006371/0.1999, allocations: 0.7206 MB / 0.5371 GB, free: 0.9961 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0001956/0.2, allocations: 58.91 kB / 0.5372 GB, free: 0.9336 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.992e-05/0.2001, allocations: 27.44 kB / 0.5372 GB, free: 0.9062 MB / 414.1 MB
Notification: Performance of SimCode: time 6.11e-07/0.2001, allocations: 0 / 0.5372 GB, free: 0.9062 MB / 414.1 MB
Notification: Performance of Templates: time 0.2739/0.4741, allocations: 3.31 MB / 0.5404 GB, free: 28.69 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660]
(rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.LinearColdWater_res.mat.
Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed!
"
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 5.959827516227961]