Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.001462/0.001462, allocations: 121.5 kB / 18.45 MB, free: 4.59 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.001679/0.001679, allocations: 201.8 kB / 21.4 MB, free: 1.645 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.566/1.566, allocations: 227.4 MB / 251.6 MB, free: 24 kB / 190.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.2435/0.2435, allocations: 46.17 MB / 351.1 MB, free: 14.32 MB / 286.1 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.ConstantPropertyLiquidWater,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.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,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.ConstantPropertyLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 81 kB / 490.2 MB, free: 28 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.15, allocations: 62.44 MB / 0.5397 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006639/0.1567, allocations: 5.031 MB / 0.5446 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005146/0.1619, allocations: 4.571 MB / 0.5491 GB, free: 10.51 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.1621, allocations: 0 / 0.5491 GB, free: 10.51 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002845/0.1624, allocations: 55.64 kB / 0.5491 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001865/0.1643, allocations: 0.6583 MB / 0.5498 GB, free: 9.793 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004304/0.1647, allocations: 168.8 kB / 0.55 GB, free: 9.633 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000556/0.1653, allocations: 362.2 kB / 0.5503 GB, free: 9.277 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.132e-05/0.1653, allocations: 13.67 kB / 0.5503 GB, free: 9.266 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003417/0.1657, allocations: 151.5 kB / 0.5505 GB, free: 9.117 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.1659, allocations: 127.5 kB / 0.5506 GB, free: 8.992 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.404e-05/0.1659, allocations: 11.94 kB / 0.5506 GB, free: 8.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000922/0.1669, allocations: 351.6 kB / 0.5509 GB, free: 8.637 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.167, allocations: 47.81 kB / 0.551 GB, free: 8.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001849/0.1672, allocations: 111.5 kB / 0.5511 GB, free: 8.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007611/0.168, allocations: 438.6 kB / 0.5515 GB, free: 8.051 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.168, allocations: 3.938 kB / 0.5515 GB, free: 8.047 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.168, allocations: 0 / 0.5515 GB, free: 8.047 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.168, allocations: 0 / 0.5515 GB, free: 8.047 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.001114/0.1691, allocations: 0.6039 MB / 0.5521 GB, free: 7.395 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.1692, allocations: 12.02 kB / 0.5521 GB, free: 7.383 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/0.1693, allocations: 24.84 kB / 0.5521 GB, free: 7.359 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.1697, allocations: 228 kB / 0.5523 GB, free: 7.098 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/0.1698, allocations: 119.9 kB / 0.5525 GB, free: 6.957 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/0.1699, allocations: 24.38 kB / 0.5525 GB, free: 6.934 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005633/0.1705, allocations: 331.6 kB / 0.5528 GB, free: 6.582 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.1705, allocations: 0 / 0.5528 GB, free: 6.582 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.439e-05/0.1705, allocations: 12 kB / 0.5528 GB, free: 6.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/0.1706, allocations: 4 kB / 0.5528 GB, free: 6.566 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009892/0.1715, allocations: 0.7429 MB / 0.5535 GB, free: 5.82 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.001638/0.1732, allocations: 1.246 MB / 0.5548 GB, free: 4.473 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003634/0.1736, allocations: 150.8 kB / 0.5549 GB, free: 4.316 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.1737, allocations: 76.77 kB / 0.555 GB, free: 4.238 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002844/0.1766, allocations: 2.667 MB / 0.5576 GB, free: 1.059 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.1766, allocations: 30.56 kB / 0.5576 GB, free: 1.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.1766, allocations: 0 / 0.5576 GB, free: 1.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007727/0.1774, allocations: 223.7 kB / 0.5578 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.283e-05/0.1775, allocations: 55.34 kB / 0.5579 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.1777, allocations: 226.8 kB / 0.5581 GB, free: 0.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.1777, allocations: 25.7 kB / 0.5581 GB, free: 480 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.1779, allocations: 219.6 kB / 0.5583 GB, free: 256 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.548e-05/0.1779, allocations: 55.53 kB / 0.5584 GB, free: 200 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.1781, allocations: 90.02 kB / 0.5585 GB, free: 104 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.1783, allocations: 326.8 kB / 0.5588 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.577e-05/0.1784, allocations: 48.84 kB / 0.5588 GB, free: 15.72 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003422/0.1787, allocations: 316.1 kB / 0.5591 GB, free: 15.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000483/0.1792, allocations: 419.5 kB / 0.5595 GB, free: 14.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1792, allocations: 0 / 0.5595 GB, free: 14.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005763/0.1798, allocations: 369.8 kB / 0.5599 GB, free: 14.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.1798, allocations: 8 kB / 0.5599 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.1798, allocations: 8.094 kB / 0.5599 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.983e-05/0.1799, allocations: 20 kB / 0.5599 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000343/0.1802, allocations: 111.8 kB / 0.56 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.29e-05/0.1803, allocations: 19.88 kB / 0.56 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/0.1805, allocations: 15.98 kB / 0.56 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.196e-05/0.1806, allocations: 28 kB / 0.5601 GB, free: 14.17 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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.0001473/0.1807, allocations: 145.7 kB / 0.5602 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.089e-05/0.1808, allocations: 19.91 kB / 0.5602 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003275/0.1811, allocations: 158.9 kB / 0.5604 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.1811, allocations: 3.938 kB / 0.5604 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.1811, allocations: 4 kB / 0.5604 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.1812, allocations: 4 kB / 0.5604 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006042/0.1818, allocations: 435.2 kB / 0.5608 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1818, allocations: 3.938 kB / 0.5608 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.1819, allocations: 39.84 kB / 0.5608 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.182, allocations: 0 / 0.5608 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.182, allocations: 8 kB / 0.5609 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.182, allocations: 0 / 0.5609 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.182, allocations: 0 / 0.5609 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.1823, allocations: 223.5 kB / 0.5611 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.1824, allocations: 100.9 kB / 0.5612 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.751e-05/0.1824, allocations: 11.98 kB / 0.5612 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.1826, allocations: 4 kB / 0.5612 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.606e-05/0.1826, allocations: 7.984 kB / 0.5612 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.1827, allocations: 11.98 kB / 0.5612 GB, free: 12.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001523/0.1828, allocations: 156.4 kB / 0.5613 GB, free: 12.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1828, allocations: 0 / 0.5613 GB, free: 12.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005019/0.1833, allocations: 99.86 kB / 0.5614 GB, free: 12.66 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * 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.0003679/0.1837, allocations: 163.1 kB / 0.5616 GB, free: 12.49 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003587/0.1841, allocations: 181.5 kB / 0.5618 GB, free: 12.31 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1841, allocations: 0 / 0.5618 GB, free: 12.31 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.27e-05/0.1841, allocations: 39.92 kB / 0.5618 GB, free: 12.27 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004588/0.1846, allocations: 52 kB / 0.5619 GB, free: 12.23 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.1857, allocations: 0.513 MB / 0.5624 GB, free: 11.68 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/0.1861, allocations: 0.7245 MB / 0.5631 GB, free: 10.93 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000217/0.1863, allocations: 66.77 kB / 0.5631 GB, free: 10.87 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.181e-05/0.1864, allocations: 35.36 kB / 0.5632 GB, free: 10.83 MB / 430.1 MB Notification: Performance of SimCode: time 3.136e-06/0.1864, allocations: 0 / 0.5632 GB, free: 10.83 MB / 430.1 MB Notification: Performance of Templates: time 0.008281/0.1947, allocations: 3.479 MB / 0.5666 GB, free: 7.375 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.267050561495125]