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: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00173/0.00173, allocations: 194 kB / 17.38 MB, free: 4.438 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 226.5 MB / 244.7 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007244/0.0007244, allocations: 92.66 kB / 296.8 MB, free: 6.859 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002342/0.0002343, allocations: 8 kB / 356.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.185, allocations: 51.29 MB / 408 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.002306/0.1873, allocations: 3.018 MB / 411.1 MB, free: 24.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.1884, allocations: 0.8676 MB / 411.9 MB, free: 23.79 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001486/0.1885, allocations: 8.562 kB / 411.9 MB, free: 23.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002041/0.1888, allocations: 80.31 kB / 412 MB, free: 23.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002729/0.189, allocations: 162.7 kB / 412.2 MB, free: 23.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.1892, allocations: 91.83 kB / 412.3 MB, free: 23.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004023/0.1896, allocations: 0.5871 MB / 412.9 MB, free: 22.87 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002094/0.1898, allocations: 179 kB / 413 MB, free: 22.69 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.19, allocations: 207.2 kB / 413.2 MB, free: 22.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.1902, allocations: 239 kB / 413.5 MB, free: 22.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.444e-05/0.1903, allocations: 36 kB / 413.5 MB, free: 22.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.146e-05/0.1903, allocations: 40 kB / 413.5 MB, free: 22.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.775e-05/0.1904, allocations: 99.58 kB / 413.6 MB, free: 22.08 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.1906, allocations: 284.5 kB / 413.9 MB, free: 21.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002741/0.1909, allocations: 487.6 kB / 414.4 MB, free: 21.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1909, allocations: 0 / 414.4 MB, free: 21.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1909, allocations: 0 / 414.4 MB, free: 21.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.1909, allocations: 0 / 414.4 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.000901/0.1918, allocations: 0.7533 MB / 415.1 MB, free: 20.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.1918, allocations: 8.031 kB / 415.1 MB, free: 20.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.347e-05/0.1919, allocations: 60.28 kB / 415.2 MB, free: 20.44 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003913/0.1923, allocations: 386.7 kB / 415.6 MB, free: 20.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.093e-05/0.1924, allocations: 66.91 kB / 415.6 MB, free: 19.95 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.425e-05/0.1925, allocations: 32.38 kB / 415.7 MB, free: 19.92 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000546/0.193, allocations: 465.6 kB / 416.1 MB, free: 19.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.193, allocations: 0 / 416.1 MB, free: 19.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.46e-05/0.1931, allocations: 16 kB / 416.2 MB, free: 19.4 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1931, allocations: 8 kB / 416.2 MB, free: 19.39 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004686/0.1936, allocations: 286.5 kB / 416.4 MB, free: 19.11 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.001576/0.1952, allocations: 1.302 MB / 417.7 MB, free: 17.71 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009596/0.1961, allocations: 434.9 kB / 418.2 MB, free: 17.26 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002307/0.1964, allocations: 144.8 kB / 418.3 MB, free: 17.12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.1964, allocations: 8 kB / 418.3 MB, free: 17.11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.599e-05/0.1964, allocations: 38.5 kB / 418.4 MB, free: 17.06 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.763e-06/0.1965, allocations: 7.984 kB / 418.4 MB, free: 17.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.0009192/0.1974, allocations: 0.6115 MB / 419 MB, free: 16.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/0.1975, allocations: 448.9 kB / 419.4 MB, free: 15.85 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003638/0.1978, allocations: 446 kB / 419.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.1979, allocations: 41.64 kB / 419.9 MB, free: 15.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.198, allocations: 232.5 kB / 420.1 MB, free: 15.12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.067e-05/0.198, allocations: 114.3 kB / 420.2 MB, free: 15.01 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.808e-05/0.1981, allocations: 4 kB / 420.2 MB, free: 15.01 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.045e-05/0.1981, allocations: 358.8 kB / 420.6 MB, free: 14.65 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/0.1983, allocations: 108.6 kB / 420.7 MB, free: 14.54 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002676/0.1986, allocations: 248.2 kB / 420.9 MB, free: 14.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004135/0.199, allocations: 293.5 kB / 421.2 MB, free: 13.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1991, allocations: 0 / 421.2 MB, free: 13.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006038/0.1997, allocations: 424.3 kB / 421.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.1997, allocations: 29.7 kB / 421.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1997, allocations: 4 kB / 421.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001383/0.1999, allocations: 45.7 kB / 421.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003225/0.2002, allocations: 79.86 kB / 421.8 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/0.2017, allocations: 2.744 MB / 424.5 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003304/0.2021, allocations: 55.75 kB / 424.6 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.2021, allocations: 12 kB / 424.6 MB, free: 10.27 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.0001477/0.2022, allocations: 165.7 kB / 424.8 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.722e-05/0.2023, allocations: 51.42 kB / 424.8 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.468e-05/0.2024, allocations: 52.64 kB / 424.9 MB, free: 9.992 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2024, allocations: 8 kB / 424.9 MB, free: 9.984 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.2024, allocations: 0 / 424.9 MB, free: 9.984 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004913/0.2029, allocations: 0.6612 MB / 425.5 MB, free: 9.219 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009942/0.2039, allocations: 0.8991 MB / 426.4 MB, free: 8.258 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2039, allocations: 0 / 426.4 MB, free: 8.258 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003251/0.2043, allocations: 79.83 kB / 426.5 MB, free: 8.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.2043, allocations: 0 / 426.5 MB, free: 8.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.2043, allocations: 8 kB / 426.5 MB, free: 8.172 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2043, allocations: 0 / 426.5 MB, free: 8.172 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.2043, allocations: 7.938 kB / 426.5 MB, free: 8.164 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006696/0.205, allocations: 0.5241 MB / 427 MB, free: 7.625 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.2051, allocations: 164.5 kB / 427.2 MB, free: 7.445 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.788e-05/0.2052, allocations: 16 kB / 427.2 MB, free: 7.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002875/0.2055, allocations: 19.98 kB / 427.2 MB, free: 7.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.2055, allocations: 27.89 kB / 427.3 MB, free: 7.383 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.2056, allocations: 8 kB / 427.3 MB, free: 7.375 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002573/0.2058, allocations: 315.1 kB / 427.6 MB, free: 7.07 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2058, allocations: 3.938 kB / 427.6 MB, free: 7.066 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000366/0.2062, allocations: 131.8 kB / 427.7 MB, free: 6.938 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 9.285e-05/0.2063, allocations: 103.2 kB / 427.8 MB, free: 6.828 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000692/0.207, allocations: 0.5633 MB / 428.4 MB, free: 6.227 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.207, allocations: 4.062 kB / 428.4 MB, free: 6.223 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.2072, allocations: 139.8 kB / 428.5 MB, free: 6.086 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006086/0.2078, allocations: 116.2 kB / 428.6 MB, free: 5.973 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.209, allocations: 1.084 MB / 429.7 MB, free: 4.863 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.2092, allocations: 0.8201 MB / 430.5 MB, free: 4.016 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.2093, allocations: 47.42 kB / 430.6 MB, free: 3.969 MB / 298.7 MB Notification: Performance of SimCode: time 3.5e-07/0.2094, allocations: 0 / 430.6 MB, free: 3.969 MB / 298.7 MB Notification: Performance of Templates: time 0.008835/0.2182, allocations: 8.175 MB / 438.8 MB, free: 11.86 MB / 314.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (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 & ./Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/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