Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json 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/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_trunk_cpp_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_trunk_cpp_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009371/0.0009372, allocations: 196.3 kB / 17.38 MB, free: 4.43 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.244/1.244, allocations: 226.5 MB / 244.7 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007873/0.0007875, allocations: 101.6 kB / 296.7 MB, free: 6.887 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002249/0.000225, allocations: 7.984 kB / 356.8 MB, free: 10.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.178, allocations: 51.29 MB / 408.1 MB, free: 27.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.002282/0.1803, allocations: 3.186 MB / 411.3 MB, free: 24.49 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009084/0.1812, allocations: 0.891 MB / 412.2 MB, free: 23.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.1814, allocations: 11.94 kB / 412.2 MB, free: 23.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001834/0.1816, allocations: 71.44 kB / 412.3 MB, free: 23.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002591/0.1818, allocations: 173 kB / 412.4 MB, free: 23.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.182, allocations: 99.03 kB / 412.5 MB, free: 23.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003876/0.1824, allocations: 0.632 MB / 413.2 MB, free: 22.63 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00019/0.1826, allocations: 182.6 kB / 413.4 MB, free: 22.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.1828, allocations: 227.1 kB / 413.6 MB, free: 22.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.1829, allocations: 262.8 kB / 413.8 MB, free: 21.97 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.547e-05/0.183, allocations: 36 kB / 413.9 MB, free: 21.94 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.131e-05/0.1831, allocations: 36 kB / 413.9 MB, free: 21.9 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.082e-05/0.1831, allocations: 103.5 kB / 414 MB, free: 21.8 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001755/0.1833, allocations: 300.5 kB / 414.3 MB, free: 21.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.1836, allocations: 0.4998 MB / 414.8 MB, free: 21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1836, allocations: 4 kB / 414.8 MB, free: 21 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1836, allocations: 7.938 kB / 414.8 MB, free: 20.99 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.1836, allocations: 0 / 414.8 MB, free: 20.99 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001006/0.1847, allocations: 0.8078 MB / 415.6 MB, free: 20.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.1847, allocations: 8.031 kB / 415.6 MB, free: 20.11 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.999e-05/0.1848, allocations: 79.28 kB / 415.7 MB, free: 20.03 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.754e-05/0.1849, allocations: 68.19 kB / 415.8 MB, free: 19.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004724/0.1853, allocations: 446.4 kB / 416.2 MB, free: 19.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001723/0.1855, allocations: 86.88 kB / 416.3 MB, free: 19.39 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.189e-05/0.1856, allocations: 36.38 kB / 416.3 MB, free: 19.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006995/0.1863, allocations: 0.5047 MB / 416.8 MB, free: 18.8 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.1863, allocations: 0 / 416.8 MB, free: 18.8 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.375e-05/0.1864, allocations: 16 kB / 416.8 MB, free: 18.79 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.1864, allocations: 8 kB / 416.9 MB, free: 18.78 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007769/0.1871, allocations: 386.3 kB / 417.2 MB, free: 18.4 MB / 298.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.00145/0.1886, allocations: 1.306 MB / 418.5 MB, free: 17 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005936/0.1892, allocations: 399.4 kB / 418.9 MB, free: 16.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000378/0.1896, allocations: 200.8 kB / 419.1 MB, free: 16.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.607e-05/0.1896, allocations: 7.938 kB / 419.1 MB, free: 16.38 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/0.1897, allocations: 50.55 kB / 419.2 MB, free: 16.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 1.473e-06/0.1897, allocations: 0 / 419.2 MB, free: 16.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.001435/0.1911, allocations: 0.787 MB / 420 MB, free: 15.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/0.1912, allocations: 452.9 kB / 420.4 MB, free: 14.94 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003496/0.1915, allocations: 453.9 kB / 420.9 MB, free: 14.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.1916, allocations: 41.64 kB / 420.9 MB, free: 14.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.1917, allocations: 248.3 kB / 421.1 MB, free: 14.19 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.494e-05/0.1917, allocations: 118.2 kB / 421.2 MB, free: 14.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.812e-05/0.1918, allocations: 8 kB / 421.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.824e-05/0.1918, allocations: 354.8 kB / 421.6 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003821/0.1922, allocations: 163.9 kB / 421.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004269/0.1927, allocations: 309.2 kB / 422.1 MB, free: 13.19 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007208/0.1934, allocations: 385.1 kB / 422.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1934, allocations: 0 / 422.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008947/0.1943, allocations: 0.5212 MB / 423 MB, free: 12.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.1943, allocations: 33.73 kB / 423 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1943, allocations: 0 / 423 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001248/0.1945, allocations: 49.69 kB / 423 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003713/0.1949, allocations: 99.88 kB / 423.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/0.1963, allocations: 2.74 MB / 425.9 MB, free: 9.066 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003877/0.1967, allocations: 71.69 kB / 426 MB, free: 8.996 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/0.1967, allocations: 11.98 kB / 426 MB, free: 8.984 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001468/0.1969, allocations: 170.4 kB / 426.1 MB, free: 8.809 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.466e-05/0.197, allocations: 51.44 kB / 426.2 MB, free: 8.758 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.608e-05/0.1971, allocations: 60.69 kB / 426.2 MB, free: 8.699 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1971, allocations: 4 kB / 426.2 MB, free: 8.695 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.1971, allocations: 0 / 426.2 MB, free: 8.695 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000801/0.1979, allocations: 0.7789 MB / 427 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.1992, allocations: 1.059 MB / 428.1 MB, free: 6.688 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1992, allocations: 0 / 428.1 MB, free: 6.688 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004088/0.1996, allocations: 107.9 kB / 428.2 MB, free: 6.582 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1996, allocations: 0 / 428.2 MB, free: 6.582 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.1997, allocations: 8 kB / 428.2 MB, free: 6.574 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1997, allocations: 0 / 428.2 MB, free: 6.574 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1997, allocations: 240 / 428.2 MB, free: 6.574 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.2009, allocations: 0.7214 MB / 428.9 MB, free: 5.836 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.201, allocations: 168.5 kB / 429.1 MB, free: 5.652 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.574e-05/0.2011, allocations: 16 kB / 429.1 MB, free: 5.637 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003686/0.2014, allocations: 39.95 kB / 429.1 MB, free: 5.598 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.321e-05/0.2015, allocations: 31.84 kB / 429.2 MB, free: 5.566 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.2015, allocations: 12 kB / 429.2 MB, free: 5.555 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002486/0.2018, allocations: 323.1 kB / 429.5 MB, free: 5.242 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2018, allocations: 0 / 429.5 MB, free: 5.242 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000344/0.2021, allocations: 135.8 kB / 429.6 MB, free: 5.109 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * 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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001346/0.2035, allocations: 1.266 MB / 430.9 MB, free: 3.816 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.2045, allocations: 0.6645 MB / 431.6 MB, free: 3.113 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2045, allocations: 4.062 kB / 431.6 MB, free: 3.109 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003818/0.2049, allocations: 200.2 kB / 431.8 MB, free: 2.914 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005945/0.2055, allocations: 133.8 kB / 431.9 MB, free: 2.781 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003805/0.2094, allocations: 3.058 MB / 434.9 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.2097, allocations: 0.8317 MB / 435.8 MB, free: 14.8 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002567/0.2099, allocations: 171.4 kB / 435.9 MB, free: 14.63 MB / 314.7 MB Notification: Performance of SimCode: time 2.41e-07/0.21, allocations: 0 / 435.9 MB, free: 14.63 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.298/3.508, allocations: 9.726 MB / 445.7 MB, free: 4.895 MB / 314.7 MB (rm -f Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","../files/Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches