Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.001171/0.001171, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004441/0.004441, allocations: 158.7 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8617/0.8617, allocations: 177 MB / 204.9 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.217/0.217, allocations: 34.24 MB / 295.6 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] 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.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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 443.4 MB, free: 1.031 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.402e-05, allocations: 2.281 kB / 443.5 MB, free: 1.027 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.1761/0.1761, allocations: 4.295 MB / 447.7 MB, free: 42.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002094/0.1782, allocations: 3.59 MB / 451.3 MB, free: 39.85 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.381e-05/0.1783, allocations: 4 kB / 451.3 MB, free: 39.85 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000233/0.1785, allocations: 56.09 kB / 451.4 MB, free: 39.82 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008601/0.1794, allocations: 0.7557 MB / 452.2 MB, free: 39.39 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.1795, allocations: 142.4 kB / 452.3 MB, free: 39.33 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003002/0.1798, allocations: 380.1 kB / 452.7 MB, free: 39.15 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.211e-05/0.1799, allocations: 11.11 kB / 452.7 MB, free: 39.15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.18, allocations: 191.2 kB / 452.9 MB, free: 39.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.1802, allocations: 140.5 kB / 453 MB, free: 39.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.1802, allocations: 8.562 kB / 453 MB, free: 39.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003782/0.1806, allocations: 389.4 kB / 453.4 MB, free: 38.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.609e-05/0.1806, allocations: 49.47 kB / 453.4 MB, free: 38.9 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.142e-05/0.1807, allocations: 84.2 kB / 453.5 MB, free: 38.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004111/0.1811, allocations: 482.9 kB / 454 MB, free: 38.72 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1811, allocations: 0 / 454 MB, free: 38.72 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1811, allocations: 0 / 454 MB, free: 38.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1811, allocations: 1.219 kB / 454 MB, free: 38.72 MB / 410.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.0006615/0.1818, allocations: 0.5346 MB / 454.5 MB, free: 38.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.1818, allocations: 10.75 kB / 454.5 MB, free: 38.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.306e-05/0.1819, allocations: 25.84 kB / 454.6 MB, free: 38.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.1821, allocations: 168.4 kB / 454.7 MB, free: 38.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.03e-05/0.1822, allocations: 233 kB / 455 MB, free: 37.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.1822, allocations: 18.59 kB / 455 MB, free: 37.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002938/0.1825, allocations: 488.8 kB / 455.4 MB, free: 37.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.1825, allocations: 4.875 kB / 455.5 MB, free: 37.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.1825, allocations: 14.69 kB / 455.5 MB, free: 37.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.1826, allocations: 6.031 kB / 455.5 MB, free: 37.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003772/0.1829, allocations: 0.7209 MB / 456.2 MB, free: 37.39 MB / 410.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.0006578/0.1836, allocations: 1.041 MB / 457.2 MB, free: 36.53 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.1838, allocations: 153.9 kB / 457.4 MB, free: 36.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.619e-05/0.1839, allocations: 78.19 kB / 457.5 MB, free: 36.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006836/0.1846, allocations: 0.7235 MB / 458.2 MB, free: 36.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.226e-05/0.1846, allocations: 36.91 kB / 458.2 MB, free: 35.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 9.12e-07/0.1846, allocations: 0 / 458.2 MB, free: 35.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.000197/0.1848, allocations: 123.3 kB / 458.3 MB, free: 35.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.696e-05/0.1848, allocations: 51.41 kB / 458.4 MB, free: 35.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.592e-05/0.1849, allocations: 235.8 kB / 458.6 MB, free: 35.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.765e-06/0.1849, allocations: 29.7 kB / 458.6 MB, free: 35.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.973e-05/0.1849, allocations: 233.8 kB / 458.9 MB, free: 35.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.1849, allocations: 36.62 kB / 458.9 MB, free: 35.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.206e-05/0.185, allocations: 85.12 kB / 459 MB, free: 35.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.143e-05/0.185, allocations: 332.2 kB / 459.3 MB, free: 35.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.428e-05/0.1851, allocations: 47.97 kB / 459.4 MB, free: 35.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.1852, allocations: 342.7 kB / 459.7 MB, free: 34.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.1854, allocations: 447.3 kB / 460.1 MB, free: 34.15 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.1854, allocations: 2.938 kB / 460.1 MB, free: 34.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002749/0.1856, allocations: 379.2 kB / 460.5 MB, free: 33.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.1857, allocations: 11.28 kB / 460.5 MB, free: 33.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.1857, allocations: 11.81 kB / 460.5 MB, free: 33.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.1857, allocations: 19.38 kB / 460.6 MB, free: 33.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.1858, allocations: 100.6 kB / 460.7 MB, free: 33.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.1858, allocations: 26 kB / 460.7 MB, free: 33.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.1859, allocations: 53.66 kB / 460.7 MB, free: 33.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.186, allocations: 36.16 kB / 460.8 MB, free: 33.91 MB / 410.7 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 5.632e-05/0.186, allocations: 147.1 kB / 460.9 MB, free: 33.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.186, allocations: 26.67 kB / 460.9 MB, free: 33.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001525/0.1862, allocations: 157.8 kB / 461.1 MB, free: 33.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.1862, allocations: 0 / 461.1 MB, free: 33.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.1862, allocations: 0 / 461.1 MB, free: 33.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1862, allocations: 0 / 461.1 MB, free: 33.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.1864, allocations: 351.6 kB / 461.4 MB, free: 33.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1864, allocations: 0 / 461.4 MB, free: 33.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.394e-05/0.1864, allocations: 9.594 kB / 461.4 MB, free: 33.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1864, allocations: 3.188 kB / 461.4 MB, free: 33.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.1864, allocations: 7.188 kB / 461.5 MB, free: 33.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1864, allocations: 7.219 kB / 461.5 MB, free: 33.35 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1864, allocations: 7.938 kB / 461.5 MB, free: 33.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.454e-05/0.1865, allocations: 198.3 kB / 461.7 MB, free: 33.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.233e-05/0.1865, allocations: 25.31 kB / 461.7 MB, free: 33.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.1865, allocations: 10.34 kB / 461.7 MB, free: 33.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.978e-05/0.1866, allocations: 7.062 kB / 461.7 MB, free: 33.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.378e-05/0.1866, allocations: 6.469 kB / 461.7 MB, free: 33.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.1866, allocations: 11.08 kB / 461.7 MB, free: 33.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.491e-05/0.1867, allocations: 154.4 kB / 461.9 MB, free: 33.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1867, allocations: 0 / 461.9 MB, free: 33.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002883/0.187, allocations: 92.91 kB / 462 MB, free: 33.02 MB / 410.7 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.0001701/0.1871, allocations: 158.2 kB / 462.1 MB, free: 32.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001633/0.1873, allocations: 172.3 kB / 462.3 MB, free: 32.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1873, allocations: 4.125 kB / 462.3 MB, free: 32.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.84e-05/0.1873, allocations: 20.62 kB / 462.3 MB, free: 32.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.1876, allocations: 46.36 kB / 462.4 MB, free: 32.83 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005762/0.1881, allocations: 0.534 MB / 462.9 MB, free: 32.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.409e-05/0.1882, allocations: 117.9 kB / 463 MB, free: 32.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.979e-05/0.1882, allocations: 31.5 kB / 463 MB, free: 32.39 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1882, allocations: 0 / 463 MB, free: 32.39 MB / 410.7 MB Notification: Performance of Templates: time 0.003081/0.1913, allocations: 3.472 MB / 466.5 MB, free: 32 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.967267230153084]