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: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009415/0.0009415, allocations: 196.8 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.198/1.198, allocations: 226.6 MB / 244.3 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007187/0.0007187, allocations: 95.88 kB / 296.4 MB, free: 6.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001924/0.0001925, allocations: 4 kB / 356.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1707, allocations: 51.3 MB / 407.5 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.002215/0.1729, allocations: 3.168 MB / 410.7 MB, free: 24.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008764/0.1738, allocations: 0.8998 MB / 411.6 MB, free: 23.74 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.174, allocations: 11.94 kB / 411.6 MB, free: 23.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001729/0.1742, allocations: 71.45 kB / 411.6 MB, free: 23.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002438/0.1744, allocations: 166.7 kB / 411.8 MB, free: 23.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001524/0.1746, allocations: 95.83 kB / 411.9 MB, free: 23.4 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003468/0.1749, allocations: 0.6026 MB / 412.5 MB, free: 22.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.1751, allocations: 154.1 kB / 412.7 MB, free: 22.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.1752, allocations: 223.1 kB / 412.9 MB, free: 22.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.1754, allocations: 262.9 kB / 413.1 MB, free: 22.17 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.361e-05/0.1755, allocations: 36 kB / 413.2 MB, free: 22.13 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.242e-05/0.1756, allocations: 43.94 kB / 413.2 MB, free: 22.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.209e-05/0.1756, allocations: 99.58 kB / 413.3 MB, free: 21.99 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.814e-05/0.1757, allocations: 133.4 kB / 413.4 MB, free: 21.86 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002676/0.176, allocations: 0.5073 MB / 413.9 MB, free: 21.35 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.176, allocations: 0 / 413.9 MB, free: 21.35 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.176, allocations: 0 / 413.9 MB, free: 21.35 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.176, allocations: 3.938 kB / 413.9 MB, free: 21.34 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.0009844/0.177, allocations: 0.8194 MB / 414.8 MB, free: 20.46 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.704e-05/0.177, allocations: 8.031 kB / 414.8 MB, free: 20.46 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.373e-05/0.1771, allocations: 63.25 kB / 414.8 MB, free: 20.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004971/0.1776, allocations: 417.6 kB / 415.2 MB, free: 19.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001669/0.1778, allocations: 94.27 kB / 415.3 MB, free: 19.85 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.191e-05/0.1779, allocations: 32 kB / 415.4 MB, free: 19.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006661/0.1785, allocations: 0.4892 MB / 415.9 MB, free: 19.28 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.1785, allocations: 0 / 415.9 MB, free: 19.28 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.213e-05/0.1786, allocations: 15.94 kB / 415.9 MB, free: 19.26 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1786, allocations: 8 kB / 415.9 MB, free: 19.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007513/0.1794, allocations: 390.4 kB / 416.3 MB, free: 18.87 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.00141/0.1808, allocations: 1.302 MB / 417.6 MB, free: 17.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005839/0.1814, allocations: 403.3 kB / 418 MB, free: 17.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003704/0.1817, allocations: 200.8 kB / 418.1 MB, free: 16.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.1818, allocations: 11.97 kB / 418.2 MB, free: 16.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.476e-05/0.1818, allocations: 42.5 kB / 418.2 MB, free: 16.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 1.353e-06/0.1818, allocations: 0 / 418.2 MB, free: 16.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.001373/0.1832, allocations: 0.7871 MB / 419 MB, free: 15.96 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.478e-05/0.1833, allocations: 448.9 kB / 419.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003395/0.1836, allocations: 450 kB / 419.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.1836, allocations: 33.7 kB / 419.9 MB, free: 14.92 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.1838, allocations: 236.4 kB / 420.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.847e-05/0.1838, allocations: 130.1 kB / 420.3 MB, free: 14.56 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.729e-05/0.1838, allocations: 12 kB / 420.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.736e-05/0.1839, allocations: 358.8 kB / 420.6 MB, free: 14.19 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000352/0.1843, allocations: 155.8 kB / 420.8 MB, free: 14.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004082/0.1847, allocations: 306.6 kB / 421.1 MB, free: 13.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003696/0.1851, allocations: 211.2 kB / 421.3 MB, free: 13.47 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1851, allocations: 4 kB / 421.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009019/0.186, allocations: 0.5177 MB / 421.8 MB, free: 12.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.186, allocations: 33.7 kB / 421.8 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.186, allocations: 0 / 421.8 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001211/0.1861, allocations: 61.67 kB / 421.9 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003764/0.1865, allocations: 91.88 kB / 422 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/0.1879, allocations: 2.736 MB / 424.7 MB, free: 9.727 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003799/0.1883, allocations: 67.62 kB / 424.8 MB, free: 9.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.1883, allocations: 16 kB / 424.8 MB, free: 9.645 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.0001415/0.1885, allocations: 178.4 kB / 425 MB, free: 9.461 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.679e-05/0.1886, allocations: 51.67 kB / 425 MB, free: 9.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.191e-05/0.1886, allocations: 56.75 kB / 425.1 MB, free: 9.355 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1886, allocations: 4 kB / 425.1 MB, free: 9.352 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.1887, allocations: 0 / 425.1 MB, free: 9.352 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007964/0.1895, allocations: 0.7672 MB / 425.9 MB, free: 8.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.1907, allocations: 1.063 MB / 426.9 MB, free: 7.352 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1907, allocations: 4 kB / 426.9 MB, free: 7.348 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000407/0.1911, allocations: 95.88 kB / 427 MB, free: 7.254 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1912, allocations: 0 / 427 MB, free: 7.254 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.1912, allocations: 19.98 kB / 427 MB, free: 7.234 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1912, allocations: 0 / 427 MB, free: 7.234 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1912, allocations: 0 / 427 MB, free: 7.234 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.1923, allocations: 0.7099 MB / 427.7 MB, free: 6.508 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.1925, allocations: 164.5 kB / 427.9 MB, free: 6.328 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.634e-05/0.1925, allocations: 8 kB / 427.9 MB, free: 6.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003685/0.1929, allocations: 48.02 kB / 428 MB, free: 6.273 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.193, allocations: 23.91 kB / 428 MB, free: 6.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.193, allocations: 12 kB / 428 MB, free: 6.238 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002451/0.1932, allocations: 331 kB / 428.3 MB, free: 5.918 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1932, allocations: 0 / 428.3 MB, free: 5.918 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003589/0.1936, allocations: 143.8 kB / 428.5 MB, free: 5.777 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 8.129e-05/0.1937, allocations: 103.2 kB / 428.6 MB, free: 5.668 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009711/0.1947, allocations: 0.6877 MB / 429.2 MB, free: 4.941 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1947, allocations: 0 / 429.2 MB, free: 4.941 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003769/0.1951, allocations: 199.7 kB / 429.4 MB, free: 4.746 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005838/0.1956, allocations: 139.1 kB / 429.6 MB, free: 4.609 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.1968, allocations: 1.137 MB / 430.7 MB, free: 3.445 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001657/0.197, allocations: 0.8278 MB / 431.5 MB, free: 2.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.1971, allocations: 47.36 kB / 431.6 MB, free: 2.543 MB / 298.7 MB Notification: Performance of SimCode: time 1.012e-06/0.1971, allocations: 0 / 431.6 MB, free: 2.543 MB / 298.7 MB Notification: Performance of Templates: time 0.009245/0.2063, allocations: 8.838 MB / 440.4 MB, free: 9.773 MB / 314.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (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 & ./Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/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