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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001152/0.001152, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00113/0.00113, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.221/0.221, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 71.3 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1416, allocations: 62.45 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006989/0.1486, allocations: 5.023 MB / 485.1 MB, free: 148 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004958/0.1536, allocations: 4.571 MB / 489.7 MB, free: 11.56 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001943/0.1538, allocations: 0 / 489.7 MB, free: 11.56 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003462/0.1543, allocations: 55.61 kB / 489.8 MB, free: 11.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002239/0.1565, allocations: 0.6681 MB / 490.4 MB, free: 10.83 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004131/0.1569, allocations: 151.3 kB / 490.6 MB, free: 10.69 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006046/0.1575, allocations: 374.1 kB / 491 MB, free: 10.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.394e-05/0.1576, allocations: 9.688 kB / 491 MB, free: 10.31 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002238/0.1578, allocations: 147.5 kB / 491.1 MB, free: 10.17 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.158, allocations: 127.5 kB / 491.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.094e-05/0.1581, allocations: 8 kB / 491.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009517/0.159, allocations: 343.6 kB / 491.6 MB, free: 9.699 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.717e-05/0.1592, allocations: 51.75 kB / 491.6 MB, free: 9.648 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.1593, allocations: 115.4 kB / 491.7 MB, free: 9.535 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007295/0.16, allocations: 411.3 kB / 492.1 MB, free: 9.133 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.16, allocations: 4 kB / 492.1 MB, free: 9.129 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1601, allocations: 0 / 492.1 MB, free: 9.129 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.1601, allocations: 0 / 492.1 MB, free: 9.129 MB / 366.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.001084/0.1612, allocations: 0.5891 MB / 492.7 MB, free: 8.488 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.1612, allocations: 11.97 kB / 492.7 MB, free: 8.477 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.911e-05/0.1613, allocations: 62.73 kB / 492.8 MB, free: 8.406 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.1615, allocations: 24.75 kB / 492.8 MB, free: 8.383 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.1618, allocations: 232 kB / 493.1 MB, free: 8.117 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/0.1619, allocations: 123.9 kB / 493.2 MB, free: 7.973 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.1619, allocations: 24.12 kB / 493.2 MB, free: 7.949 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004853/0.1624, allocations: 323.7 kB / 493.5 MB, free: 7.605 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1625, allocations: 0 / 493.5 MB, free: 7.605 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.1625, allocations: 12 kB / 493.5 MB, free: 7.594 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.482e-05/0.1625, allocations: 11.98 kB / 493.5 MB, free: 7.582 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007842/0.1633, allocations: 0.739 MB / 494.3 MB, free: 6.844 MB / 366.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.001234/0.1646, allocations: 1.25 MB / 495.5 MB, free: 5.488 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003054/0.1649, allocations: 158.4 kB / 495.7 MB, free: 5.328 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.165, allocations: 76.81 kB / 495.8 MB, free: 5.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002148/0.1672, allocations: 2.666 MB / 498.4 MB, free: 2.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.1672, allocations: 30.56 kB / 498.5 MB, free: 2.031 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.1672, allocations: 0 / 498.5 MB, free: 2.031 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006948/0.1679, allocations: 224.7 kB / 498.7 MB, free: 1.805 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.168, allocations: 59.41 kB / 498.7 MB, free: 1.734 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.1681, allocations: 214.6 kB / 498.9 MB, free: 1.516 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.1682, allocations: 29.7 kB / 499 MB, free: 1.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.1683, allocations: 210.8 kB / 499.2 MB, free: 1.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.642e-05/0.1683, allocations: 51.34 kB / 499.2 MB, free: 1.219 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.652e-05/0.1684, allocations: 81.94 kB / 499.3 MB, free: 1.133 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.1685, allocations: 326.8 kB / 499.6 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.3e-05/0.1686, allocations: 52.84 kB / 499.7 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002595/0.1689, allocations: 316.3 kB / 500 MB, free: 324 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004134/0.1693, allocations: 411.6 kB / 0.4887 GB, free: 15.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1693, allocations: 4 kB / 0.4887 GB, free: 15.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005258/0.1699, allocations: 369.5 kB / 0.489 GB, free: 15.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.1699, allocations: 16.19 kB / 0.489 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.1699, allocations: 8 kB / 0.489 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/0.1699, allocations: 15.94 kB / 0.4891 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003249/0.1703, allocations: 103.8 kB / 0.4892 GB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.813e-05/0.1703, allocations: 23.92 kB / 0.4892 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.1705, allocations: 12 kB / 0.4892 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.976e-05/0.1706, allocations: 28.12 kB / 0.4892 GB, free: 15.21 MB / 382.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.0001302/0.1707, allocations: 153.6 kB / 0.4894 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.544e-05/0.1708, allocations: 27.81 kB / 0.4894 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003142/0.1711, allocations: 146.9 kB / 0.4895 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.1711, allocations: 7.938 kB / 0.4895 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1711, allocations: 0 / 0.4895 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1711, allocations: 0 / 0.4895 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005185/0.1717, allocations: 435.3 kB / 0.49 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.1717, allocations: 3.938 kB / 0.49 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.1718, allocations: 31.92 kB / 0.49 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1719, allocations: 0 / 0.49 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.1719, allocations: 8 kB / 0.49 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1719, allocations: 7.859 kB / 0.49 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1719, allocations: 0 / 0.49 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.1721, allocations: 223.6 kB / 0.4902 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.379e-05/0.1722, allocations: 100.8 kB / 0.4903 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.042e-05/0.1723, allocations: 15.84 kB / 0.4903 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.1725, allocations: 7.984 kB / 0.4903 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.179e-05/0.1725, allocations: 11.98 kB / 0.4903 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.1725, allocations: 8 kB / 0.4904 GB, free: 13.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001137/0.1726, allocations: 148.5 kB / 0.4905 GB, free: 13.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1726, allocations: 0 / 0.4905 GB, free: 13.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004764/0.1731, allocations: 99.98 kB / 0.4906 GB, free: 13.69 MB / 382.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.00069/0.1738, allocations: 0.8261 MB / 0.4914 GB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002939/0.1741, allocations: 174 kB / 0.4916 GB, free: 12.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.1741, allocations: 12 kB / 0.4916 GB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.86e-05/0.1742, allocations: 35.98 kB / 0.4916 GB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004363/0.1746, allocations: 55.31 kB / 0.4917 GB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002675/0.1773, allocations: 2.696 MB / 0.4943 GB, free: 9.543 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.1776, allocations: 0.7285 MB / 0.495 GB, free: 8.785 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002525/0.1778, allocations: 54.84 kB / 0.4951 GB, free: 8.734 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.042e-05/0.1779, allocations: 67.41 kB / 0.4951 GB, free: 8.668 MB / 382.1 MB Notification: Performance of SimCode: time 6.32e-07/0.1779, allocations: 4 kB / 0.4951 GB, free: 8.664 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/0.2, allocations: 5.575 MB / 0.5006 GB, free: 3.219 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.776/7.976, allocations: 1.078 kB / 0.5006 GB, free: 3.219 MB / 382.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches