Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000885/0.000885, 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.201/1.201, allocations: 226.6 MB / 244.4 MB, free: 8.285 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007524/0.0007524, allocations: 107.2 kB / 296.4 MB, free: 7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001863/0.0001864, allocations: 4 kB / 356.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1754, allocations: 51.3 MB / 407.5 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.002313/0.1777, allocations: 3.246 MB / 410.7 MB, free: 24.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009637/0.1787, allocations: 0.9049 MB / 411.6 MB, free: 23.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.1789, allocations: 9.25 kB / 411.6 MB, free: 23.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001867/0.1791, allocations: 83.31 kB / 411.7 MB, free: 23.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002638/0.1794, allocations: 172.2 kB / 411.9 MB, free: 23.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/0.1795, allocations: 99.89 kB / 412 MB, free: 23.31 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003764/0.1799, allocations: 0.6322 MB / 412.6 MB, free: 22.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00019/0.1801, allocations: 162.9 kB / 412.8 MB, free: 22.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001745/0.1803, allocations: 231.1 kB / 413 MB, free: 22.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.1805, allocations: 270.8 kB / 413.3 MB, free: 22.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.904e-05/0.1806, allocations: 36 kB / 413.3 MB, free: 21.99 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.497e-05/0.1806, allocations: 36 kB / 413.3 MB, free: 21.95 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.643e-05/0.1807, allocations: 107.6 kB / 413.5 MB, free: 21.85 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.415e-05/0.1808, allocations: 141.3 kB / 413.6 MB, free: 21.7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002827/0.1811, allocations: 0.5151 MB / 414.1 MB, free: 21.19 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.1811, allocations: 4 kB / 414.1 MB, free: 21.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1811, allocations: 4 kB / 414.1 MB, free: 21.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.1811, allocations: 0 / 414.1 MB, free: 21.18 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001027/0.1821, allocations: 0.8352 MB / 414.9 MB, free: 20.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.696e-05/0.1822, allocations: 8.031 kB / 415 MB, free: 20.28 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.616e-05/0.1823, allocations: 67.25 kB / 415 MB, free: 20.21 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004805/0.1828, allocations: 426 kB / 415.4 MB, free: 19.76 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001651/0.1829, allocations: 90.61 kB / 415.5 MB, free: 19.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.72e-05/0.183, allocations: 47.84 kB / 415.6 MB, free: 19.62 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006947/0.1837, allocations: 0.5177 MB / 416.1 MB, free: 19.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.1837, allocations: 0 / 416.1 MB, free: 19.05 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.539e-05/0.1838, allocations: 20 kB / 416.1 MB, free: 19.03 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.1838, allocations: 8 kB / 416.1 MB, free: 19.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007816/0.1846, allocations: 399.7 kB / 416.5 MB, free: 18.63 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.001533/0.1861, allocations: 1.351 MB / 417.9 MB, free: 17.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007564/0.1869, allocations: 482.6 kB / 418.3 MB, free: 16.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003792/0.1873, allocations: 216.8 kB / 418.5 MB, free: 16.47 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.1873, allocations: 7.938 kB / 418.5 MB, free: 16.46 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/0.1873, allocations: 38.56 kB / 418.6 MB, free: 16.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=37): time 1.492e-06/0.1873, allocations: 0 / 418.6 MB, free: 16.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=37): time 0.001411/0.1887, allocations: 0.8178 MB / 419.4 MB, free: 15.55 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.857e-05/0.1888, allocations: 448.9 kB / 419.8 MB, free: 15 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003575/0.1892, allocations: 470 kB / 420.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.1892, allocations: 33.7 kB / 420.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.1893, allocations: 252.4 kB / 420.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.004e-05/0.1894, allocations: 134 kB / 420.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.771e-05/0.1894, allocations: 12 kB / 420.7 MB, free: 14.1 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.649e-05/0.1895, allocations: 354.8 kB / 421.1 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/0.1898, allocations: 167.9 kB / 421.2 MB, free: 13.58 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004228/0.1903, allocations: 314.4 kB / 421.5 MB, free: 13.22 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003797/0.1907, allocations: 217.4 kB / 421.8 MB, free: 13 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1907, allocations: 0 / 421.8 MB, free: 13 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008867/0.1916, allocations: 0.5272 MB / 422.3 MB, free: 12.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.1916, allocations: 33.7 kB / 422.3 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1916, allocations: 4 kB / 422.3 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001281/0.1917, allocations: 49.64 kB / 422.4 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003913/0.1921, allocations: 99.86 kB / 422.5 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/0.1936, allocations: 2.74 MB / 425.2 MB, free: 9.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004082/0.194, allocations: 71.69 kB / 425.3 MB, free: 9.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.1941, allocations: 11.94 kB / 425.3 MB, free: 9.168 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 (39): * Single equations (assignments): 36 * 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.0001524/0.1942, allocations: 173.8 kB / 425.5 MB, free: 8.988 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.005e-05/0.1943, allocations: 55.34 kB / 425.5 MB, free: 8.934 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.752e-05/0.1944, allocations: 56.92 kB / 425.6 MB, free: 8.879 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1944, allocations: 4 kB / 425.6 MB, free: 8.875 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1944, allocations: 7.953 kB / 425.6 MB, free: 8.867 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008003/0.1952, allocations: 0.7893 MB / 426.4 MB, free: 7.973 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.1965, allocations: 1.083 MB / 427.4 MB, free: 6.824 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1965, allocations: 0 / 427.4 MB, free: 6.824 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004217/0.197, allocations: 107.9 kB / 427.6 MB, free: 6.719 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.197, allocations: 7.953 kB / 427.6 MB, free: 6.711 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.197, allocations: 4 kB / 427.6 MB, free: 6.707 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.197, allocations: 11.94 kB / 427.6 MB, free: 6.695 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.197, allocations: 0 / 427.6 MB, free: 6.695 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.1982, allocations: 0.7374 MB / 428.3 MB, free: 5.938 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.1983, allocations: 172.4 kB / 428.5 MB, free: 5.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.798e-05/0.1984, allocations: 11.95 kB / 428.5 MB, free: 5.738 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000371/0.1988, allocations: 43.95 kB / 428.5 MB, free: 5.695 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.621e-05/0.1988, allocations: 19.97 kB / 428.6 MB, free: 5.676 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.1988, allocations: 20.05 kB / 428.6 MB, free: 5.656 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000257/0.1991, allocations: 334.9 kB / 428.9 MB, free: 5.332 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1991, allocations: 0 / 428.9 MB, free: 5.332 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000347/0.1995, allocations: 143.8 kB / 429 MB, free: 5.191 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 (37): * Single equations (assignments): 37 * 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.041e-05/0.1996, allocations: 107.2 kB / 429.1 MB, free: 5.078 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.2006, allocations: 0.6875 MB / 429.8 MB, free: 4.352 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2006, allocations: 4 kB / 429.8 MB, free: 4.348 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003807/0.201, allocations: 211.6 kB / 430 MB, free: 4.141 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005935/0.2016, allocations: 138 kB / 430.2 MB, free: 4.008 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.2028, allocations: 1.171 MB / 431.4 MB, free: 2.809 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.203, allocations: 0.8356 MB / 432.2 MB, free: 1.945 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.2031, allocations: 55.36 kB / 432.2 MB, free: 1.891 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2031, allocations: 0 / 432.2 MB, free: 1.891 MB / 298.7 MB Notification: Performance of Templates: time 0.009649/0.2128, allocations: 9.105 MB / 441.3 MB, free: 8.855 MB / 314.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","../files/Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches