Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 114.2 kB / 17.06 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001946/0.001946, allocations: 197.3 kB / 18.01 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 47.92 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2692, allocations: 49.44 MB / 400.2 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005061/0.2743, allocations: 3.747 MB / 404 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001894/0.2763, allocations: 0.9929 MB / 405 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002386/0.2765, allocations: 8 kB / 405 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000341/0.2769, allocations: 119 kB / 405.1 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004159/0.2773, allocations: 198.3 kB / 405.3 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.2776, allocations: 135.8 kB / 405.4 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008115/0.2785, allocations: 0.6964 MB / 406.1 MB, free: 2.898 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003306/0.2788, allocations: 210.7 kB / 406.3 MB, free: 2.684 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003211/0.2791, allocations: 271 kB / 406.6 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003806/0.2795, allocations: 306.6 kB / 406.9 MB, free: 2.117 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.2796, allocations: 60 kB / 406.9 MB, free: 2.059 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.2797, allocations: 60 kB / 407 MB, free: 2 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.2799, allocations: 127.6 kB / 407.1 MB, free: 1.875 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003298/0.2802, allocations: 322.5 kB / 407.4 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008557/0.2811, allocations: 0.7227 MB / 408.2 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2811, allocations: 0 / 408.2 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2811, allocations: 0 / 408.2 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.2811, allocations: 4 kB / 408.2 MB, free: 0.832 MB / 318.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.001686/0.2828, allocations: 0.9323 MB / 409.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.2829, allocations: 15.89 kB / 409.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001396/0.283, allocations: 79.72 kB / 409.2 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.2831, allocations: 76.52 kB / 409.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008005/0.2839, allocations: 443.1 kB / 409.7 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.2841, allocations: 63.25 kB / 409.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.018e-05/0.2841, allocations: 40.31 kB / 409.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009273/0.2851, allocations: 0.5098 MB / 410.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.2851, allocations: 3.984 kB / 410.3 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.229e-05/0.2851, allocations: 16 kB / 410.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.2852, allocations: 8 kB / 410.3 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008986/0.2861, allocations: 355.8 kB / 410.7 MB, free: 14.14 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.002288/0.2884, allocations: 1.363 MB / 412 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009877/0.2894, allocations: 456.2 kB / 412.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004604/0.2898, allocations: 195.8 kB / 412.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.925e-05/0.2899, allocations: 4 kB / 412.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.2899, allocations: 38.56 kB / 412.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 2.425e-06/0.2899, allocations: 0 / 412.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=37): time 0.001785/0.2917, allocations: 0.7549 MB / 413.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002599/0.292, allocations: 445 kB / 413.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006042/0.2926, allocations: 482 kB / 414.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.179e-05/0.2927, allocations: 33.7 kB / 414.4 MB, free: 10.1 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/0.2929, allocations: 252.6 kB / 414.7 MB, free: 9.848 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.293, allocations: 146.8 kB / 414.8 MB, free: 9.703 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.2932, allocations: 69.7 kB / 414.9 MB, free: 9.629 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.2934, allocations: 362.8 kB / 415.2 MB, free: 9.266 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004109/0.2938, allocations: 147.9 kB / 415.4 MB, free: 9.121 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005515/0.2944, allocations: 296.5 kB / 415.7 MB, free: 8.781 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008144/0.2952, allocations: 339.1 kB / 416 MB, free: 8.438 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.2952, allocations: 0 / 416 MB, free: 8.438 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001141/0.2964, allocations: 0.4998 MB / 416.5 MB, free: 7.918 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.184e-05/0.2964, allocations: 33.69 kB / 416.5 MB, free: 7.879 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.2964, allocations: 0 / 416.5 MB, free: 7.879 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001744/0.2966, allocations: 53.67 kB / 416.6 MB, free: 7.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004347/0.2971, allocations: 87.88 kB / 416.7 MB, free: 7.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002865/0.2999, allocations: 2.965 MB / 419.6 MB, free: 4.492 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005201/0.3005, allocations: 59.64 kB / 419.7 MB, free: 4.434 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.138e-05/0.3005, allocations: 8 kB / 419.7 MB, free: 4.426 MB / 334.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.0002694/0.3008, allocations: 173.8 kB / 419.9 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.3009, allocations: 55.67 kB / 419.9 MB, free: 4.191 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.301, allocations: 60.86 kB / 420 MB, free: 4.129 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.301, allocations: 4 kB / 420 MB, free: 4.125 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.301, allocations: 0 / 420 MB, free: 4.125 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00114/0.3022, allocations: 0.7385 MB / 420.7 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001905/0.3041, allocations: 1.053 MB / 421.8 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3041, allocations: 0 / 421.8 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004777/0.3046, allocations: 95.86 kB / 421.9 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.3046, allocations: 4 kB / 421.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-05/0.3047, allocations: 8 kB / 421.9 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.3047, allocations: 0 / 421.9 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3047, allocations: 0 / 421.9 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/0.3061, allocations: 0.6836 MB / 422.6 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002526/0.3064, allocations: 176.7 kB / 422.7 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.405e-05/0.3065, allocations: 8 kB / 422.7 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000382/0.3069, allocations: 23.97 kB / 422.8 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.335e-05/0.307, allocations: 27.97 kB / 422.8 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.381e-05/0.307, allocations: 8 kB / 422.8 MB, free: 1.094 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004291/0.3074, allocations: 342.9 kB / 423.1 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3075, allocations: 0 / 423.1 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004993/0.308, allocations: 143.8 kB / 423.3 MB, free: 0.6211 MB / 334.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.001836/0.3098, allocations: 1.232 MB / 424.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00135/0.3112, allocations: 0.6526 MB / 425.2 MB, free: 14.67 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.3112, allocations: 4 kB / 425.2 MB, free: 14.67 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004396/0.3116, allocations: 183.8 kB / 425.4 MB, free: 14.49 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006997/0.3123, allocations: 144.6 kB / 425.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007476/0.3198, allocations: 4.683 MB / 430.2 MB, free: 9.562 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005013/0.3204, allocations: 0.8351 MB / 431 MB, free: 8.703 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003153/0.3207, allocations: 64.55 kB / 431.1 MB, free: 8.637 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002939/0.321, allocations: 183.4 kB / 431.3 MB, free: 8.457 MB / 350.1 MB Notification: Performance of SimCode: time 8.32e-07/0.321, allocations: 0 / 431.3 MB, free: 8.457 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04714/0.3682, allocations: 14 MB / 445.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/12.72, allocations: 4.062 kB / 445.3 MB, free: 10.75 MB / 366.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches