Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001029/0.00103, allocations: 117.2 kB / 17.78 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001074/0.001074, allocations: 200.6 kB / 18.72 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 59.91 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2464, allocations: 50.55 MB / 408.7 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004322/0.2507, allocations: 3.756 MB / 412.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.2522, allocations: 1.02 MB / 413.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.2524, allocations: 7.938 kB / 413.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.2527, allocations: 111 kB / 413.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003522/0.253, allocations: 206.3 kB / 413.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.2533, allocations: 135.8 kB / 414 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006362/0.2539, allocations: 0.712 MB / 414.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002796/0.2542, allocations: 202.8 kB / 414.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002367/0.2545, allocations: 275 kB / 415.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002818/0.2548, allocations: 310.6 kB / 415.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.724e-05/0.2548, allocations: 60 kB / 415.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.1e-05/0.2549, allocations: 60 kB / 415.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.712e-05/0.255, allocations: 135.5 kB / 415.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002515/0.2553, allocations: 318.5 kB / 416 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006123/0.2559, allocations: 0.7228 MB / 416.7 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2559, allocations: 0 / 416.7 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2559, allocations: 3.938 kB / 416.7 MB, free: 9.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.256, allocations: 0 / 416.7 MB, free: 9.48 MB / 334.1 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.001404/0.2574, allocations: 0.9322 MB / 417.7 MB, free: 8.492 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.2574, allocations: 12.03 kB / 417.7 MB, free: 8.48 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001123/0.2575, allocations: 83.67 kB / 417.8 MB, free: 8.391 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.2576, allocations: 68.56 kB / 417.8 MB, free: 8.324 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006649/0.2583, allocations: 447.1 kB / 418.3 MB, free: 7.848 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.998e-05/0.2584, allocations: 63.25 kB / 418.3 MB, free: 7.781 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.092e-05/0.2585, allocations: 36.38 kB / 418.4 MB, free: 7.746 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008272/0.2593, allocations: 0.5058 MB / 418.9 MB, free: 7.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.2593, allocations: 0 / 418.9 MB, free: 7.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.285e-05/0.2594, allocations: 19.98 kB / 418.9 MB, free: 7.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.2594, allocations: 8 kB / 418.9 MB, free: 7.152 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008026/0.2602, allocations: 355.8 kB / 419.2 MB, free: 6.809 MB / 334.1 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.001902/0.2621, allocations: 1.359 MB / 420.6 MB, free: 5.355 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008345/0.263, allocations: 456.5 kB / 421.1 MB, free: 4.879 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004059/0.2634, allocations: 200.4 kB / 421.2 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.368e-05/0.2634, allocations: 7.984 kB / 421.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.2635, allocations: 42.31 kB / 421.3 MB, free: 4.625 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 1.553e-06/0.2635, allocations: 0 / 421.3 MB, free: 4.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=37): time 0.001535/0.265, allocations: 0.7475 MB / 422 MB, free: 3.828 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001563/0.2652, allocations: 441 kB / 422.5 MB, free: 3.293 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004723/0.2657, allocations: 478 kB / 422.9 MB, free: 2.812 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.2657, allocations: 37.7 kB / 423 MB, free: 2.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.2659, allocations: 252.6 kB / 423.2 MB, free: 2.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.558e-05/0.266, allocations: 134.8 kB / 423.4 MB, free: 2.387 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.2661, allocations: 77.66 kB / 423.4 MB, free: 2.305 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.2662, allocations: 362.8 kB / 423.8 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003598/0.2666, allocations: 139.9 kB / 423.9 MB, free: 1.805 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004599/0.2671, allocations: 294.4 kB / 424.2 MB, free: 1.465 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007282/0.2678, allocations: 350.6 kB / 424.6 MB, free: 1.109 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.2678, allocations: 0 / 424.6 MB, free: 1.109 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009515/0.2688, allocations: 0.4922 MB / 425 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.729e-05/0.2688, allocations: 37.69 kB / 425.1 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2688, allocations: 0 / 425.1 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001476/0.269, allocations: 49.64 kB / 425.1 MB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004027/0.2694, allocations: 91.91 kB / 425.2 MB, free: 420 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/0.2716, allocations: 2.961 MB / 428.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004132/0.2721, allocations: 59.73 kB / 428.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.742e-05/0.2721, allocations: 12 kB / 428.3 MB, free: 13.1 MB / 350.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002015/0.2723, allocations: 177.7 kB / 428.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.902e-05/0.2724, allocations: 55.67 kB / 428.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.2725, allocations: 64.86 kB / 428.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.2725, allocations: 4.234 kB / 428.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.2725, allocations: 0 / 428.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009028/0.2734, allocations: 0.7437 MB / 429.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.275, allocations: 1.048 MB / 430.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.275, allocations: 0 / 430.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000431/0.2754, allocations: 95.86 kB / 430.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.2754, allocations: 4 kB / 430.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/0.2755, allocations: 8 kB / 430.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.2755, allocations: 4 kB / 430.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2755, allocations: 80 / 430.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.2767, allocations: 0.6763 MB / 431.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001802/0.2769, allocations: 176.7 kB / 431.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.741e-05/0.277, allocations: 8 kB / 431.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000366/0.2773, allocations: 27.97 kB / 431.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.723e-05/0.2774, allocations: 23.97 kB / 431.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.2774, allocations: 8 kB / 431.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003307/0.2778, allocations: 342.9 kB / 431.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2778, allocations: 4.062 kB / 431.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004177/0.2782, allocations: 147.8 kB / 431.8 MB, free: 9.289 MB / 350.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001516/0.2797, allocations: 1.22 MB / 433.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.2808, allocations: 0.665 MB / 433.7 MB, free: 7.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.2809, allocations: 3.938 kB / 433.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003815/0.2812, allocations: 187.5 kB / 433.9 MB, free: 7.152 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006371/0.2819, allocations: 148.2 kB / 434.1 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006033/0.2879, allocations: 4.674 MB / 438.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.2883, allocations: 0.8429 MB / 439.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000252/0.2886, allocations: 64.53 kB / 439.6 MB, free: 1.285 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002458/0.2888, allocations: 183.4 kB / 439.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2888, allocations: 0 / 439.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03322/0.322, allocations: 13.99 MB / 453.8 MB, free: 3.398 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.86, allocations: 4.953 kB / 453.8 MB, free: 3.395 MB / 366.1 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches