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.001309/0.001309, allocations: 117.6 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001453/0.001453, allocations: 200.7 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 59.91 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2373, allocations: 50.54 MB / 408.7 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005336/0.2426, allocations: 3.766 MB / 412.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001962/0.2446, allocations: 1.028 MB / 413.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002999/0.245, allocations: 4 kB / 413.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003862/0.2454, allocations: 115 kB / 413.7 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005178/0.2459, allocations: 202.3 kB / 413.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.2462, allocations: 135.8 kB / 414 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008716/0.2471, allocations: 0.7035 MB / 414.7 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003399/0.2475, allocations: 206.8 kB / 414.9 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003512/0.2478, allocations: 275 kB / 415.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003982/0.2483, allocations: 310.6 kB / 415.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.2484, allocations: 60 kB / 415.5 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.2485, allocations: 60 kB / 415.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.2486, allocations: 131.5 kB / 415.7 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003317/0.249, allocations: 318.5 kB / 416 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00082/0.2498, allocations: 0.7227 MB / 416.7 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2498, allocations: 0 / 416.7 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.616e-06/0.2498, allocations: 0 / 416.7 MB, free: 9.496 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.743e-05/0.2498, allocations: 3.938 kB / 416.7 MB, free: 9.492 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.001723/0.2516, allocations: 0.9322 MB / 417.7 MB, free: 8.504 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.2516, allocations: 8.031 kB / 417.7 MB, free: 8.496 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001268/0.2518, allocations: 87.67 kB / 417.8 MB, free: 8.402 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.2519, allocations: 64.56 kB / 417.8 MB, free: 8.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007937/0.2527, allocations: 451.1 kB / 418.3 MB, free: 7.859 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.762e-05/0.2528, allocations: 59.25 kB / 418.3 MB, free: 7.797 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.768e-05/0.2529, allocations: 36.38 kB / 418.4 MB, free: 7.762 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009127/0.2538, allocations: 0.5098 MB / 418.9 MB, free: 7.191 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.2538, allocations: 0 / 418.9 MB, free: 7.191 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.989e-05/0.2539, allocations: 20 kB / 418.9 MB, free: 7.172 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/0.2539, allocations: 8 kB / 418.9 MB, free: 7.164 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008433/0.2547, allocations: 359.7 kB / 419.3 MB, free: 6.816 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.002286/0.257, allocations: 1.359 MB / 420.6 MB, free: 5.363 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009157/0.258, allocations: 462.5 kB / 421.1 MB, free: 4.883 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004229/0.2584, allocations: 192.8 kB / 421.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.788e-05/0.2585, allocations: 4 kB / 421.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.2585, allocations: 42.31 kB / 421.3 MB, free: 4.637 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 1.694e-06/0.2585, allocations: 0 / 421.3 MB, free: 4.637 MB / 334.1 MB Notification: Performance of matching and sorting (n=37): time 0.001685/0.2602, allocations: 0.7439 MB / 422 MB, free: 3.844 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002531/0.2605, allocations: 445 kB / 422.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006112/0.2611, allocations: 478 kB / 422.9 MB, free: 2.824 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.441e-05/0.2611, allocations: 37.7 kB / 423 MB, free: 2.781 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/0.2614, allocations: 252.6 kB / 423.2 MB, free: 2.531 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.2615, allocations: 134.8 kB / 423.4 MB, free: 2.398 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.2617, allocations: 81.64 kB / 423.4 MB, free: 2.312 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.2618, allocations: 358.8 kB / 423.8 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003871/0.2622, allocations: 139.9 kB / 423.9 MB, free: 1.816 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005237/0.2628, allocations: 305.2 kB / 424.2 MB, free: 1.469 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000792/0.2636, allocations: 346.6 kB / 424.6 MB, free: 1.117 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2636, allocations: 3.938 kB / 424.6 MB, free: 1.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001077/0.2647, allocations: 0.4884 MB / 425.1 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.023e-05/0.2647, allocations: 29.7 kB / 425.1 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2647, allocations: 0 / 425.1 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001694/0.2649, allocations: 57.62 kB / 425.1 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000451/0.2654, allocations: 91.91 kB / 425.2 MB, free: 428 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002809/0.2682, allocations: 2.957 MB / 428.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004766/0.2687, allocations: 59.73 kB / 428.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.921e-05/0.2687, allocations: 12 kB / 428.3 MB, free: 13.11 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.0002561/0.269, allocations: 177.3 kB / 428.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.2691, allocations: 59.67 kB / 428.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/0.2693, allocations: 60.86 kB / 428.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.2693, allocations: 4 kB / 428.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2693, allocations: 4 kB / 428.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001075/0.2704, allocations: 0.7397 MB / 429.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/0.2722, allocations: 1.052 MB / 430.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.2722, allocations: 0 / 430.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004674/0.2727, allocations: 91.86 kB / 430.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.2727, allocations: 0 / 430.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.779e-05/0.2728, allocations: 12 kB / 430.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.2728, allocations: 3.938 kB / 430.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.2728, allocations: 0 / 430.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.2741, allocations: 0.6766 MB / 431.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002437/0.2744, allocations: 180.6 kB / 431.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.726e-05/0.2745, allocations: 12 kB / 431.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003733/0.2748, allocations: 27.95 kB / 431.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.911e-05/0.2749, allocations: 23.97 kB / 431.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/0.275, allocations: 12 kB / 431.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004179/0.2754, allocations: 338.9 kB / 431.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2754, allocations: 0 / 431.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000485/0.2759, allocations: 147.8 kB / 431.9 MB, free: 9.301 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.001746/0.2776, allocations: 1.228 MB / 433.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00129/0.2789, allocations: 0.6644 MB / 433.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.279, allocations: 0 / 433.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004195/0.2794, allocations: 184.2 kB / 433.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000736/0.2801, allocations: 141.9 kB / 434.1 MB, free: 7.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007379/0.2875, allocations: 4.666 MB / 438.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005022/0.2881, allocations: 0.8428 MB / 439.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003049/0.2884, allocations: 64.55 kB / 439.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002739/0.2887, allocations: 179.4 kB / 439.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of SimCode: time 7.61e-07/0.2887, allocations: 0 / 439.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04639/0.3351, allocations: 14 MB / 453.8 MB, free: 3.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.57, allocations: 3.547 kB / 453.8 MB, free: 3.41 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.1.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