Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.SimpleCooling,fileNamePrefix="Modelica_trunk_cpp_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_trunk_cpp_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001332/0.001332, allocations: 200.6 kB / 17.38 MB, free: 4.426 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.21/1.21, allocations: 226.5 MB / 244.7 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007506/0.0007507, allocations: 94.73 kB / 296.7 MB, free: 6.691 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001958/0.0001958, allocations: 4 kB / 356.8 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1775, allocations: 51.29 MB / 408.1 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.002216/0.1797, allocations: 3.022 MB / 411.1 MB, free: 24.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009433/0.1807, allocations: 0.8643 MB / 412 MB, free: 23.79 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.1809, allocations: 11.94 kB / 412 MB, free: 23.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001921/0.1811, allocations: 76.64 kB / 412.1 MB, free: 23.7 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002476/0.1813, allocations: 159.8 kB / 412.3 MB, free: 23.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001641/0.1815, allocations: 91.83 kB / 412.3 MB, free: 23.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003707/0.1819, allocations: 0.591 MB / 412.9 MB, free: 22.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001935/0.1821, allocations: 174.4 kB / 413.1 MB, free: 22.69 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.1822, allocations: 215.2 kB / 413.3 MB, free: 22.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.1824, allocations: 243 kB / 413.6 MB, free: 22.24 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.366e-05/0.1825, allocations: 40 kB / 413.6 MB, free: 22.2 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.878e-05/0.1825, allocations: 32 kB / 413.6 MB, free: 22.17 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.747e-05/0.1826, allocations: 95.61 kB / 413.7 MB, free: 22.08 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.1828, allocations: 288.5 kB / 414 MB, free: 21.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.183, allocations: 482.6 kB / 414.5 MB, free: 21.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.183, allocations: 0 / 414.5 MB, free: 21.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.183, allocations: 0 / 414.5 MB, free: 21.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1831, allocations: 0 / 414.5 MB, free: 21.32 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.0008951/0.184, allocations: 0.7533 MB / 415.2 MB, free: 20.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.184, allocations: 12.03 kB / 415.2 MB, free: 20.49 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.476e-05/0.1841, allocations: 75.7 kB / 415.3 MB, free: 20.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.504e-05/0.1842, allocations: 64.28 kB / 415.4 MB, free: 20.34 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003669/0.1845, allocations: 395 kB / 415.8 MB, free: 19.92 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.301e-05/0.1846, allocations: 59.27 kB / 415.8 MB, free: 19.86 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.316e-05/0.1847, allocations: 36.38 kB / 415.9 MB, free: 19.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005508/0.1852, allocations: 470 kB / 416.3 MB, free: 19.31 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.1853, allocations: 7.906 kB / 416.3 MB, free: 19.3 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.152e-05/0.1853, allocations: 16 kB / 416.3 MB, free: 19.29 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.1853, allocations: 8 kB / 416.3 MB, free: 19.28 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000471/0.1858, allocations: 299.8 kB / 416.6 MB, free: 18.98 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.001523/0.1873, allocations: 1.316 MB / 418 MB, free: 17.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009353/0.1883, allocations: 430.9 kB / 418.4 MB, free: 17.12 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002258/0.1885, allocations: 148.8 kB / 418.5 MB, free: 16.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.1886, allocations: 4 kB / 418.5 MB, free: 16.97 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.1886, allocations: 46.55 kB / 418.6 MB, free: 16.92 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.453e-06/0.1886, allocations: 0 / 418.6 MB, free: 16.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.0009015/0.1895, allocations: 0.6192 MB / 419.2 MB, free: 16.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/0.1896, allocations: 441 kB / 419.6 MB, free: 15.71 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003468/0.1899, allocations: 446 kB / 420.1 MB, free: 15.26 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.19, allocations: 37.7 kB / 420.1 MB, free: 15.22 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.1901, allocations: 244.3 kB / 420.3 MB, free: 14.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.517e-05/0.1901, allocations: 106.4 kB / 420.4 MB, free: 14.87 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.643e-05/0.1901, allocations: 4 kB / 420.4 MB, free: 14.87 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.985e-05/0.1902, allocations: 362.8 kB / 420.8 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.1904, allocations: 104.6 kB / 420.9 MB, free: 14.4 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002795/0.1907, allocations: 256.1 kB / 421.1 MB, free: 14.1 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003963/0.1911, allocations: 293.5 kB / 421.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1911, allocations: 0 / 421.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005706/0.1917, allocations: 416.3 kB / 421.8 MB, free: 13.38 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.1917, allocations: 37.62 kB / 421.9 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1917, allocations: 8.031 kB / 421.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001292/0.1919, allocations: 49.64 kB / 421.9 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/0.1922, allocations: 68.05 kB / 422 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/0.1936, allocations: 2.752 MB / 424.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003252/0.194, allocations: 43.72 kB / 424.8 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.194, allocations: 15.94 kB / 424.8 MB, free: 10.12 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 (36): * Single equations (assignments): 33 * 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.0001483/0.1942, allocations: 169.7 kB / 425 MB, free: 9.949 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.488e-05/0.1942, allocations: 55.34 kB / 425 MB, free: 9.895 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.365e-05/0.1943, allocations: 48.69 kB / 425.1 MB, free: 9.848 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-06/0.1943, allocations: 4 kB / 425.1 MB, free: 9.844 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.1943, allocations: 0 / 425.1 MB, free: 9.844 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004714/0.1948, allocations: 0.6612 MB / 425.7 MB, free: 9.078 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009542/0.1958, allocations: 0.9069 MB / 426.6 MB, free: 8.109 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1958, allocations: 0 / 426.6 MB, free: 8.109 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003013/0.1961, allocations: 67.89 kB / 426.7 MB, free: 8.043 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1961, allocations: 8 kB / 426.7 MB, free: 8.035 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.1961, allocations: 7.938 kB / 426.7 MB, free: 8.027 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.1962, allocations: 4 kB / 426.7 MB, free: 8.023 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.1962, allocations: 3.984 kB / 426.7 MB, free: 8.02 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009338/0.1971, allocations: 0.5319 MB / 427.3 MB, free: 7.473 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.1972, allocations: 160.5 kB / 427.4 MB, free: 7.297 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.603e-05/0.1973, allocations: 15.94 kB / 427.4 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002931/0.1976, allocations: 19.98 kB / 427.5 MB, free: 7.262 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/0.1977, allocations: 23.95 kB / 427.5 MB, free: 7.238 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.1977, allocations: 8 kB / 427.5 MB, free: 7.23 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002472/0.1979, allocations: 319.2 kB / 427.8 MB, free: 6.922 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1979, allocations: 0 / 427.8 MB, free: 6.922 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003704/0.1983, allocations: 131.8 kB / 427.9 MB, free: 6.793 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 (32): * Single equations (assignments): 32 * 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.0008137/0.1991, allocations: 1.072 MB / 429 MB, free: 5.695 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006829/0.1998, allocations: 0.5711 MB / 429.6 MB, free: 5.086 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1998, allocations: 4 kB / 429.6 MB, free: 5.082 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.2, allocations: 128.4 kB / 429.7 MB, free: 4.957 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006394/0.2007, allocations: 124.7 kB / 429.8 MB, free: 4.836 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003148/0.2039, allocations: 2.777 MB / 432.6 MB, free: 2.004 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/0.2041, allocations: 0.8159 MB / 433.4 MB, free: 1.16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.2043, allocations: 163.4 kB / 433.6 MB, free: 1 MB / 298.7 MB Notification: Performance of SimCode: time 3.61e-07/0.2043, allocations: 0 / 433.6 MB, free: 1 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.173/3.377, allocations: 9.072 MB / 442.6 MB, free: 7.918 MB / 314.7 MB (rm -f Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","../files/Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches