Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009081/0.0009081, allocations: 195.9 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.19/1.19, allocations: 226.6 MB / 244.3 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007667/0.0007666, allocations: 96.09 kB / 296.4 MB, free: 6.996 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001881/0.0001879, allocations: 4 kB / 356.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1691, allocations: 51.3 MB / 407.5 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.002869/0.172, allocations: 4.544 MB / 412 MB, free: 23.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.1732, allocations: 1.244 MB / 413.3 MB, free: 22.03 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001993/0.1734, allocations: 11.94 kB / 413.3 MB, free: 22.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002157/0.1736, allocations: 111.1 kB / 413.4 MB, free: 21.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003798/0.174, allocations: 289.7 kB / 413.7 MB, free: 21.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.1743, allocations: 179.7 kB / 413.9 MB, free: 21.45 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005733/0.1749, allocations: 1.081 MB / 414.9 MB, free: 20.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002759/0.1751, allocations: 292.5 kB / 415.2 MB, free: 20.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002355/0.1754, allocations: 406.5 kB / 415.6 MB, free: 19.67 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003179/0.1757, allocations: 478 kB / 416.1 MB, free: 19.2 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.122e-05/0.1758, allocations: 72 kB / 416.2 MB, free: 19.13 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.1759, allocations: 68 kB / 416.2 MB, free: 19.06 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.187e-05/0.176, allocations: 183.3 kB / 416.4 MB, free: 18.88 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.1762, allocations: 209.2 kB / 416.6 MB, free: 18.67 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004594/0.1766, allocations: 0.9202 MB / 417.5 MB, free: 17.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1766, allocations: 3.938 kB / 417.5 MB, free: 17.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1766, allocations: 0 / 417.5 MB, free: 17.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.1766, allocations: 0 / 417.5 MB, free: 17.75 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001679/0.1783, allocations: 1.251 MB / 418.8 MB, free: 16.42 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.727e-05/0.1784, allocations: 8.031 kB / 418.8 MB, free: 16.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.1785, allocations: 110.8 kB / 418.9 MB, free: 16.3 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006567/0.1792, allocations: 0.5824 MB / 419.5 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002378/0.1794, allocations: 174.3 kB / 419.7 MB, free: 15.49 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.52e-05/0.1795, allocations: 64 kB / 419.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.1807, allocations: 0.9134 MB / 420.6 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.1807, allocations: 0 / 420.6 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.725e-05/0.1808, allocations: 28 kB / 420.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.1808, allocations: 16 kB / 420.7 MB, free: 14.37 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.182, allocations: 0.6805 MB / 421.4 MB, free: 13.69 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.002442/0.1845, allocations: 2.194 MB / 423.5 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/0.1859, allocations: 1.068 MB / 424.6 MB, free: 10.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007002/0.1866, allocations: 439.3 kB / 425 MB, free: 9.832 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.95e-05/0.1867, allocations: 16.66 kB / 425.1 MB, free: 9.812 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.1867, allocations: 47.2 kB / 425.1 MB, free: 9.758 MB / 298.7 MB Notification: Performance of pre-optimization done (n=77): time 1.713e-06/0.1867, allocations: 0 / 425.1 MB, free: 9.758 MB / 298.7 MB Notification: Performance of matching and sorting (n=77): time 0.004478/0.1912, allocations: 2.027 MB / 427.1 MB, free: 7.641 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.1913, allocations: 0.8234 MB / 428 MB, free: 6.617 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005224/0.1918, allocations: 0.6606 MB / 428.6 MB, free: 5.945 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.272e-05/0.1919, allocations: 45.7 kB / 428.7 MB, free: 5.895 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.1921, allocations: 349.4 kB / 429 MB, free: 5.551 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.1922, allocations: 268.1 kB / 429.3 MB, free: 5.285 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-05/0.1922, allocations: 20 kB / 429.3 MB, free: 5.266 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.209e-05/0.1923, allocations: 337.8 kB / 429.6 MB, free: 4.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005964/0.1929, allocations: 309.8 kB / 429.9 MB, free: 4.629 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007284/0.1936, allocations: 0.5898 MB / 430.5 MB, free: 3.934 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006369/0.1943, allocations: 443.9 kB / 430.9 MB, free: 3.484 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1943, allocations: 0 / 430.9 MB, free: 3.484 MB / 298.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002269/0.1966, allocations: 1.223 MB / 432.2 MB, free: 2.223 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/0.1966, allocations: 85.11 kB / 432.2 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1966, allocations: 0 / 432.2 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005786/0.1972, allocations: 251.2 kB / 432.5 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005954/0.1978, allocations: 159.8 kB / 432.6 MB, free: 1.707 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006323/0.2041, allocations: 6.488 MB / 439.1 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007648/0.2049, allocations: 131.2 kB / 439.3 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-05/0.205, allocations: 24 kB / 439.3 MB, free: 10.53 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (73): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002969/0.2053, allocations: 221.7 kB / 439.5 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.2054, allocations: 94.95 kB / 439.6 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001561/0.2056, allocations: 96.53 kB / 439.7 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.2056, allocations: 8 kB / 439.7 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2056, allocations: 3.953 kB / 439.7 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002484/0.2081, allocations: 1.358 MB / 441.1 MB, free: 8.621 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003656/0.2118, allocations: 2.094 MB / 443.2 MB, free: 6.461 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.2118, allocations: 4 kB / 443.2 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007044/0.2125, allocations: 159.8 kB / 443.3 MB, free: 6.301 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005044/0.213, allocations: 214.5 kB / 443.5 MB, free: 6.082 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.022e-05/0.213, allocations: 12 kB / 443.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005639/0.2187, allocations: 5.055 MB / 448.6 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.2187, allocations: 8.109 kB / 448.6 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003231/0.2219, allocations: 1.566 MB / 450.2 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002797/0.2222, allocations: 243.8 kB / 450.4 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.2223, allocations: 19.98 kB / 450.4 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006642/0.223, allocations: 75.89 kB / 450.5 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.2232, allocations: 72.5 kB / 450.6 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.66e-05/0.2232, allocations: 16.19 kB / 450.6 MB, free: 14.58 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004895/0.2237, allocations: 475 kB / 451 MB, free: 14.12 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2237, allocations: 0 / 451 MB, free: 14.12 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006767/0.2244, allocations: 283.8 kB / 451.3 MB, free: 13.84 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (65): * Single equations (assignments): 62 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001524/0.2245, allocations: 127.1 kB / 451.4 MB, free: 13.71 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002107/0.2267, allocations: 1.434 MB / 452.9 MB, free: 12.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.2267, allocations: 128 / 452.9 MB, free: 12.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001371/0.2281, allocations: 0.8315 MB / 453.7 MB, free: 11.31 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009063/0.229, allocations: 232.4 kB / 453.9 MB, free: 11.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002527/0.2315, allocations: 2.017 MB / 456 MB, free: 9.039 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/0.232, allocations: 0.9597 MB / 456.9 MB, free: 8.051 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.2322, allocations: 67.42 kB / 457 MB, free: 7.984 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2322, allocations: 0 / 457 MB, free: 7.984 MB / 330.7 MB Notification: Performance of Templates: time 0.02221/0.2544, allocations: 23.36 MB / 480.3 MB, free: 0.7109 MB / 346.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile (rm -f Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","../files/Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches