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.001589/0.001589, allocations: 191.6 kB / 17.38 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 226.5 MB / 244.7 MB, free: 6.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001033/0.001033, allocations: 98.94 kB / 296.8 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003304, allocations: 8 kB / 356.7 MB, free: 10.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2213, allocations: 51.3 MB / 408 MB, free: 27.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.002776/0.2241, allocations: 3.254 MB / 411.3 MB, free: 24.42 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.2257, allocations: 0.916 MB / 412.2 MB, free: 23.51 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003601/0.2261, allocations: 4 kB / 412.2 MB, free: 23.51 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003087/0.2264, allocations: 75.39 kB / 412.3 MB, free: 23.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005207/0.227, allocations: 180 kB / 412.5 MB, free: 23.26 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.2272, allocations: 99.88 kB / 412.6 MB, free: 23.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000613/0.2279, allocations: 0.6532 MB / 413.2 MB, free: 22.51 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002787/0.2282, allocations: 191.5 kB / 413.4 MB, free: 22.31 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002937/0.2285, allocations: 235.1 kB / 413.6 MB, free: 22.08 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003196/0.2288, allocations: 266.8 kB / 413.9 MB, free: 21.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.296e-05/0.2289, allocations: 39.94 kB / 413.9 MB, free: 21.78 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.229, allocations: 36 kB / 414 MB, free: 21.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.474e-05/0.2291, allocations: 103.6 kB / 414.1 MB, free: 21.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002571/0.2294, allocations: 312.4 kB / 414.4 MB, free: 21.33 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003605/0.2297, allocations: 0.519 MB / 414.9 MB, free: 20.81 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.2297, allocations: 0 / 414.9 MB, free: 20.81 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.2297, allocations: 0 / 414.9 MB, free: 20.81 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.108e-05/0.2298, allocations: 3.938 kB / 414.9 MB, free: 20.81 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.001349/0.2311, allocations: 0.8354 MB / 415.7 MB, free: 19.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.2312, allocations: 12.03 kB / 415.7 MB, free: 19.9 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.2313, allocations: 68.19 kB / 415.8 MB, free: 19.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006254/0.232, allocations: 438.8 kB / 416.2 MB, free: 19.37 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001857/0.2322, allocations: 91.23 kB / 416.3 MB, free: 19.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.481e-05/0.2322, allocations: 32.38 kB / 416.4 MB, free: 19.24 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007846/0.233, allocations: 0.5294 MB / 416.9 MB, free: 18.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.233, allocations: 0 / 416.9 MB, free: 18.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.029e-05/0.2331, allocations: 16 kB / 416.9 MB, free: 18.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.2331, allocations: 8 kB / 416.9 MB, free: 18.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008407/0.2339, allocations: 399.7 kB / 417.3 MB, free: 18.25 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.001886/0.2358, allocations: 1.355 MB / 418.7 MB, free: 16.8 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008079/0.2367, allocations: 478.2 kB / 419.1 MB, free: 16.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003941/0.2371, allocations: 217.5 kB / 419.3 MB, free: 16.09 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.492e-05/0.2371, allocations: 7.984 kB / 419.3 MB, free: 16.08 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.2372, allocations: 46.5 kB / 419.4 MB, free: 16.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=37): time 2.174e-06/0.2372, allocations: 0 / 419.4 MB, free: 16.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=37): time 0.001548/0.2387, allocations: 0.8053 MB / 420.2 MB, free: 15.17 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.436e-05/0.2388, allocations: 448.9 kB / 420.6 MB, free: 14.62 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004397/0.2393, allocations: 485.8 kB / 421.1 MB, free: 14.14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.626e-05/0.2393, allocations: 33.7 kB / 421.1 MB, free: 14.1 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.2394, allocations: 244.5 kB / 421.4 MB, free: 13.86 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.499e-05/0.2395, allocations: 126.1 kB / 421.5 MB, free: 13.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.176e-05/0.2396, allocations: 12 kB / 421.5 MB, free: 13.72 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.165e-05/0.2396, allocations: 358.8 kB / 421.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003668/0.24, allocations: 163.8 kB / 422 MB, free: 13.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004374/0.2405, allocations: 322.4 kB / 422.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007221/0.2412, allocations: 394.5 kB / 422.7 MB, free: 12.44 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2412, allocations: 4 kB / 422.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009861/0.2422, allocations: 0.5196 MB / 423.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.2422, allocations: 33.69 kB / 423.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2423, allocations: 0 / 423.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001537/0.2424, allocations: 57.64 kB / 423.3 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004145/0.2428, allocations: 103.8 kB / 423.4 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/0.2445, allocations: 2.736 MB / 426.2 MB, free: 8.688 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005074/0.2451, allocations: 79.58 kB / 426.2 MB, free: 8.609 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.606e-05/0.2451, allocations: 12 kB / 426.3 MB, free: 8.598 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.0002448/0.2454, allocations: 173.7 kB / 426.4 MB, free: 8.418 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.2455, allocations: 55.44 kB / 426.5 MB, free: 8.363 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/0.2456, allocations: 56.92 kB / 426.5 MB, free: 8.309 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.2456, allocations: 4.234 kB / 426.5 MB, free: 8.305 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2456, allocations: 0 / 426.5 MB, free: 8.305 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008674/0.2465, allocations: 0.7856 MB / 427.3 MB, free: 7.414 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001515/0.248, allocations: 1.096 MB / 428.4 MB, free: 6.254 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.2481, allocations: 3.938 kB / 428.4 MB, free: 6.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004365/0.2485, allocations: 103.9 kB / 428.5 MB, free: 6.148 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.2485, allocations: 4 kB / 428.5 MB, free: 6.145 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.2485, allocations: 12 kB / 428.5 MB, free: 6.133 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.2486, allocations: 0 / 428.5 MB, free: 6.133 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2486, allocations: 0 / 428.5 MB, free: 6.133 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/0.2498, allocations: 0.7372 MB / 429.3 MB, free: 5.375 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001941/0.25, allocations: 168.4 kB / 429.4 MB, free: 5.191 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.375e-05/0.2501, allocations: 16.06 kB / 429.5 MB, free: 5.176 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003764/0.2505, allocations: 43.89 kB / 429.5 MB, free: 5.133 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.194e-05/0.2506, allocations: 23.91 kB / 429.5 MB, free: 5.109 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.2506, allocations: 12 kB / 429.5 MB, free: 5.098 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003119/0.2509, allocations: 334.9 kB / 429.9 MB, free: 4.773 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2509, allocations: 4 kB / 429.9 MB, free: 4.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004363/0.2514, allocations: 139.8 kB / 430 MB, free: 4.633 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 0.0001235/0.2515, allocations: 111.5 kB / 430.1 MB, free: 4.516 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.2526, allocations: 0.7028 MB / 430.8 MB, free: 3.773 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.2527, allocations: 0 / 430.8 MB, free: 3.773 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003964/0.2531, allocations: 204.1 kB / 431 MB, free: 3.574 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007459/0.2538, allocations: 132 kB / 431.1 MB, free: 3.449 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.2553, allocations: 1.178 MB / 432.3 MB, free: 2.242 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.2556, allocations: 0.8317 MB / 433.2 MB, free: 1.383 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.2557, allocations: 47.38 kB / 433.2 MB, free: 1.336 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.2557, allocations: 0 / 433.2 MB, free: 1.336 MB / 298.7 MB Notification: Performance of Templates: time 0.01305/0.2688, allocations: 9.105 MB / 442.3 MB, free: 8.297 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