Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.001157/0.001157, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.005833/0.005833, allocations: 160.7 kB / 24.7 MB, free: 8.898 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8317/0.8317, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2128/0.2128, allocations: 34.26 MB / 295.7 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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_4.1.0_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_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 443.5 MB, free: 1.137 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/1.995e-05, allocations: 2.281 kB / 443.5 MB, free: 1.133 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.1699/0.1699, allocations: 4.291 MB / 447.8 MB, free: 42.31 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.1717, allocations: 3.596 MB / 451.4 MB, free: 39.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.13e-05/0.1718, allocations: 2.781 kB / 451.4 MB, free: 39.91 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00021/0.172, allocations: 55.27 kB / 451.4 MB, free: 39.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008189/0.1728, allocations: 0.7622 MB / 452.2 MB, free: 39.45 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.173, allocations: 136.7 kB / 452.3 MB, free: 39.39 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002883/0.1733, allocations: 386.2 kB / 452.7 MB, free: 39.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.552e-05/0.1733, allocations: 10.97 kB / 452.7 MB, free: 39.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.1735, allocations: 190.1 kB / 452.9 MB, free: 39.15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.1736, allocations: 145.7 kB / 453 MB, free: 39.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.1736, allocations: 8.5 kB / 453 MB, free: 39.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000376/0.174, allocations: 385.9 kB / 453.4 MB, free: 38.99 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.784e-05/0.174, allocations: 49.39 kB / 453.5 MB, free: 38.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.899e-05/0.1741, allocations: 85.02 kB / 453.5 MB, free: 38.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003961/0.1745, allocations: 476.6 kB / 454 MB, free: 38.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1745, allocations: 4 kB / 454 MB, free: 38.78 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1745, allocations: 2.562 kB / 454 MB, free: 38.78 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.1745, allocations: 0 / 454 MB, free: 38.78 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.0006664/0.1752, allocations: 0.5276 MB / 454.5 MB, free: 38.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.1752, allocations: 8.438 kB / 454.5 MB, free: 38.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.322e-05/0.1753, allocations: 33.98 kB / 454.6 MB, free: 38.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.1755, allocations: 173.3 kB / 454.8 MB, free: 38.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.331e-05/0.1756, allocations: 229.6 kB / 455 MB, free: 37.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.1756, allocations: 22.41 kB / 455 MB, free: 37.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002995/0.1759, allocations: 489.1 kB / 455.5 MB, free: 37.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1759, allocations: 192 / 455.5 MB, free: 37.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.1759, allocations: 14.78 kB / 455.5 MB, free: 37.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.1759, allocations: 8.719 kB / 455.5 MB, free: 37.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003747/0.1763, allocations: 0.7173 MB / 456.2 MB, free: 37.46 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.0006415/0.1769, allocations: 1.046 MB / 457.3 MB, free: 36.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.1772, allocations: 147 kB / 457.4 MB, free: 36.53 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.601e-05/0.1772, allocations: 73.81 kB / 457.5 MB, free: 36.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007046/0.1779, allocations: 0.7217 MB / 458.2 MB, free: 36.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.338e-05/0.178, allocations: 36.56 kB / 458.2 MB, free: 36.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.022e-06/0.178, allocations: 0 / 458.2 MB, free: 36.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.000186/0.1781, allocations: 123.6 kB / 458.4 MB, free: 35.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.825e-05/0.1782, allocations: 58.28 kB / 458.4 MB, free: 35.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.749e-05/0.1783, allocations: 235.4 kB / 458.6 MB, free: 35.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.1783, allocations: 25.7 kB / 458.7 MB, free: 35.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.04e-05/0.1783, allocations: 227.2 kB / 458.9 MB, free: 35.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.1783, allocations: 46.7 kB / 458.9 MB, free: 35.49 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.814e-05/0.1784, allocations: 84.97 kB / 459 MB, free: 35.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.073e-05/0.1784, allocations: 328.3 kB / 459.3 MB, free: 35.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.359e-05/0.1785, allocations: 50.72 kB / 459.4 MB, free: 35.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.1786, allocations: 342 kB / 459.7 MB, free: 34.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.1787, allocations: 450.2 kB / 460.2 MB, free: 34.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.1788, allocations: 2.938 kB / 460.2 MB, free: 34.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002718/0.179, allocations: 379.6 kB / 460.5 MB, free: 34.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.179, allocations: 9.875 kB / 460.5 MB, free: 34.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.485e-06/0.179, allocations: 11.53 kB / 460.6 MB, free: 34.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1791, allocations: 15.09 kB / 460.6 MB, free: 34.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.1792, allocations: 97.25 kB / 460.7 MB, free: 34.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.1792, allocations: 26.81 kB / 460.7 MB, free: 34.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.1793, allocations: 54.19 kB / 460.7 MB, free: 33.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.1793, allocations: 33.19 kB / 460.8 MB, free: 33.98 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.661e-05/0.1794, allocations: 155.8 kB / 460.9 MB, free: 33.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.1794, allocations: 21.3 kB / 461 MB, free: 33.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000157/0.1796, allocations: 154.9 kB / 461.1 MB, free: 33.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1796, allocations: 0 / 461.1 MB, free: 33.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1796, allocations: 3.156 kB / 461.1 MB, free: 33.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.1796, allocations: 0 / 461.1 MB, free: 33.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.1798, allocations: 352.3 kB / 461.4 MB, free: 33.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1798, allocations: 3.188 kB / 461.5 MB, free: 33.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.569e-05/0.1798, allocations: 13.44 kB / 461.5 MB, free: 33.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.1798, allocations: 7.25 kB / 461.5 MB, free: 33.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.1798, allocations: 0 / 461.5 MB, free: 33.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.1798, allocations: 7.156 kB / 461.5 MB, free: 33.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1798, allocations: 3.281 kB / 461.5 MB, free: 33.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.616e-05/0.1799, allocations: 199.5 kB / 461.7 MB, free: 33.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.397e-05/0.1799, allocations: 24.75 kB / 461.7 MB, free: 33.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.1799, allocations: 7.141 kB / 461.7 MB, free: 33.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.997e-05/0.18, allocations: 10.52 kB / 461.7 MB, free: 33.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.446e-05/0.18, allocations: 10.61 kB / 461.7 MB, free: 33.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.18, allocations: 6.375 kB / 461.7 MB, free: 33.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.424e-05/0.1801, allocations: 157 kB / 461.9 MB, free: 33.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1801, allocations: 0 / 461.9 MB, free: 33.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002764/0.1803, allocations: 94.97 kB / 462 MB, free: 33.09 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.0001795/0.1805, allocations: 162.5 kB / 462.1 MB, free: 32.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001561/0.1807, allocations: 161.8 kB / 462.3 MB, free: 32.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1807, allocations: 3.156 kB / 462.3 MB, free: 32.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.822e-05/0.1807, allocations: 29.83 kB / 462.3 MB, free: 32.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.1809, allocations: 47.64 kB / 462.4 MB, free: 32.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000536/0.1815, allocations: 0.5301 MB / 462.9 MB, free: 32.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.166e-05/0.1815, allocations: 114.2 kB / 463 MB, free: 32.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.024e-05/0.1816, allocations: 34.19 kB / 463.1 MB, free: 32.45 MB / 410.7 MB Notification: Performance of SimCode: time 4.01e-07/0.1816, allocations: 0 / 463.1 MB, free: 32.45 MB / 410.7 MB Notification: Performance of Templates: time 0.00298/0.1845, allocations: 3.485 MB / 466.5 MB, free: 32.07 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.612384490668774]