Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 107.6 kB / 17.21 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 222.9 MB / 241.8 MB, free: 15.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2294/0.2294, allocations: 44.18 MB / 336.1 MB, free: 3.047 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 59.89 kB / 407.8 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.149, allocations: 60.83 MB / 468.6 MB, free: 2.965 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.008599/0.1577, allocations: 4.998 MB / 473.6 MB, free: 13.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005544/0.1633, allocations: 4.579 MB / 478.2 MB, free: 9.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002505/0.1636, allocations: 7.938 kB / 478.2 MB, free: 9.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004149/0.1641, allocations: 43.78 kB / 478.2 MB, free: 9.289 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002427/0.1665, allocations: 0.5946 MB / 478.8 MB, free: 8.691 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004614/0.167, allocations: 143.4 kB / 479 MB, free: 8.555 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007984/0.1678, allocations: 446 kB / 479.4 MB, free: 8.117 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.552e-05/0.1679, allocations: 13.69 kB / 479.4 MB, free: 8.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004227/0.1683, allocations: 159.3 kB / 479.6 MB, free: 7.945 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000319/0.1687, allocations: 127.5 kB / 479.7 MB, free: 7.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.97e-05/0.1687, allocations: 4 kB / 479.7 MB, free: 7.816 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001149/0.1699, allocations: 359.5 kB / 480.1 MB, free: 7.465 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.17, allocations: 43.81 kB / 480.1 MB, free: 7.422 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001761/0.1702, allocations: 107.5 kB / 480.2 MB, free: 7.316 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001206/0.1714, allocations: 419 kB / 480.6 MB, free: 6.906 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.1714, allocations: 4 kB / 480.6 MB, free: 6.902 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1715, allocations: 0 / 480.6 MB, free: 6.902 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.1715, allocations: 4 kB / 480.6 MB, free: 6.898 MB / 398.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.001258/0.1727, allocations: 0.5813 MB / 481.2 MB, free: 6.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.1728, allocations: 12.03 kB / 481.2 MB, free: 6.258 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.979e-05/0.1729, allocations: 54.73 kB / 481.3 MB, free: 6.195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000188/0.1731, allocations: 28.73 kB / 481.3 MB, free: 6.168 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.1734, allocations: 228 kB / 481.5 MB, free: 5.906 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001578/0.1736, allocations: 127.9 kB / 481.7 MB, free: 5.758 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.399e-05/0.1736, allocations: 24.12 kB / 481.7 MB, free: 5.734 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006184/0.1742, allocations: 327.7 kB / 482 MB, free: 5.383 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.1743, allocations: 7.938 kB / 482 MB, free: 5.375 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.1743, allocations: 8 kB / 482 MB, free: 5.367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.499e-05/0.1743, allocations: 8 kB / 482 MB, free: 5.359 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009859/0.1753, allocations: 0.7352 MB / 482.8 MB, free: 4.625 MB / 398.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.001535/0.1769, allocations: 1.242 MB / 484 MB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003784/0.1772, allocations: 146.8 kB / 484.1 MB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.1774, allocations: 80.81 kB / 484.2 MB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00263/0.18, allocations: 2.655 MB / 486.9 MB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.1801, allocations: 42.5 kB / 486.9 MB, free: 15.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.814e-06/0.1801, allocations: 0 / 486.9 MB, free: 15.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.000767/0.1809, allocations: 220.4 kB / 487.1 MB, free: 15.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.1809, allocations: 51.41 kB / 487.2 MB, free: 15.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.1812, allocations: 219.8 kB / 487.4 MB, free: 15.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.1812, allocations: 29.64 kB / 487.4 MB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.1813, allocations: 214.8 kB / 487.6 MB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.944e-05/0.1814, allocations: 59.33 kB / 487.7 MB, free: 15.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.1815, allocations: 77.95 kB / 487.8 MB, free: 14.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.1817, allocations: 330.8 kB / 488.1 MB, free: 14.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.305e-05/0.1818, allocations: 48.84 kB / 488.1 MB, free: 14.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002775/0.182, allocations: 330 kB / 488.5 MB, free: 14.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004789/0.1825, allocations: 425.2 kB / 488.9 MB, free: 13.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.1826, allocations: 0 / 488.9 MB, free: 13.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005978/0.1832, allocations: 377.7 kB / 489.2 MB, free: 13.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.1832, allocations: 8 kB / 489.3 MB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.589e-05/0.1832, allocations: 12 kB / 489.3 MB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-05/0.1833, allocations: 19.88 kB / 489.3 MB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003491/0.1836, allocations: 103.8 kB / 489.4 MB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.557e-05/0.1836, allocations: 23.92 kB / 489.4 MB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/0.1839, allocations: 16 kB / 489.4 MB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.617e-05/0.184, allocations: 31.98 kB / 489.5 MB, free: 12.96 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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.0001777/0.1841, allocations: 157.6 kB / 489.6 MB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.583e-05/0.1842, allocations: 15.81 kB / 489.6 MB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000362/0.1846, allocations: 154.9 kB / 489.8 MB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/0.1846, allocations: 7.938 kB / 489.8 MB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1846, allocations: 0 / 489.8 MB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1846, allocations: 0 / 489.8 MB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006146/0.1853, allocations: 431.1 kB / 490.2 MB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.1853, allocations: 3.938 kB / 490.2 MB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.1855, allocations: 35.97 kB / 490.2 MB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.1855, allocations: 8.016 kB / 490.3 MB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.1855, allocations: 4 kB / 490.3 MB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1855, allocations: 0 / 490.3 MB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.1855, allocations: 0 / 490.3 MB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.1858, allocations: 220.1 kB / 490.5 MB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.1859, allocations: 100.8 kB / 490.6 MB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.489e-05/0.1859, allocations: 11.91 kB / 490.6 MB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.1861, allocations: 11.98 kB / 490.6 MB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.1862, allocations: 11.98 kB / 490.6 MB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.1862, allocations: 8.062 kB / 490.6 MB, free: 11.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001354/0.1864, allocations: 152.5 kB / 490.8 MB, free: 11.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1864, allocations: 3.938 kB / 490.8 MB, free: 11.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005318/0.1869, allocations: 92 kB / 490.9 MB, free: 11.45 MB / 414.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.0008475/0.1878, allocations: 0.8228 MB / 491.7 MB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003416/0.1881, allocations: 185.6 kB / 491.9 MB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1881, allocations: 0 / 491.9 MB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.334e-05/0.1882, allocations: 35.92 kB / 491.9 MB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004867/0.1887, allocations: 52.95 kB / 491.9 MB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003386/0.1921, allocations: 2.756 MB / 494.7 MB, free: 7.223 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.1925, allocations: 0.7326 MB / 495.4 MB, free: 6.465 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003091/0.1928, allocations: 66.8 kB / 495.5 MB, free: 6.398 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.1929, allocations: 63.41 kB / 495.6 MB, free: 6.336 MB / 414.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1929, allocations: 0 / 495.6 MB, free: 6.336 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02127/0.2142, allocations: 5.321 MB / 0.4891 GB, free: 1.18 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002489/0.2145, allocations: 217.5 kB / 0.4894 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.858/2.072, allocations: 7.625 kB / 0.4894 GB, free: 0.9258 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/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_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches