Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_3_2_3_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.00161/0.00161, allocations: 109.3 kB / 17.73 MB, free: 5.316 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.001825/0.001825, allocations: 188.2 kB / 18.66 MB, free: 4.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.1 MB / 224.6 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 55.92 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0957/0.09737, allocations: 46.62 MB / 374.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.00511/0.1025, allocations: 3.736 MB / 378.4 MB, free: 1.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.1044, allocations: 1.048 MB / 379.4 MB, free: 268 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002002/0.1047, allocations: 4 kB / 379.4 MB, free: 264 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003391/0.105, allocations: 115 kB / 379.5 MB, free: 148 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1828/0.2878, allocations: 191.8 kB / 379.7 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005401/0.2884, allocations: 140.1 kB / 379.9 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008871/0.2893, allocations: 0.7092 MB / 380.6 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003283/0.2896, allocations: 210 kB / 380.8 MB, free: 9.359 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002705/0.2899, allocations: 264.5 kB / 381 MB, free: 9.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000374/0.2903, allocations: 302.8 kB / 381.3 MB, free: 9.258 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.956e-05/0.2904, allocations: 58.69 kB / 381.4 MB, free: 9.258 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.2905, allocations: 61.5 kB / 381.4 MB, free: 9.258 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.2907, allocations: 131.5 kB / 381.6 MB, free: 9.234 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003689/0.2911, allocations: 325.2 kB / 381.9 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.2922, allocations: 0.7265 MB / 382.6 MB, free: 9.035 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.2923, allocations: 0 / 382.6 MB, free: 9.035 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2923, allocations: 0 / 382.6 MB, free: 9.035 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.2923, allocations: 1.125 kB / 382.6 MB, free: 9.035 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.001908/0.2942, allocations: 0.9319 MB / 383.6 MB, free: 8.426 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.761e-05/0.2943, allocations: 10.25 kB / 383.6 MB, free: 8.426 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001451/0.2944, allocations: 81.05 kB / 383.6 MB, free: 8.379 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.2946, allocations: 72.12 kB / 383.7 MB, free: 8.344 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000885/0.2955, allocations: 444.6 kB / 384.1 MB, free: 8.074 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/0.2956, allocations: 65.69 kB / 384.2 MB, free: 8.043 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.731e-05/0.2957, allocations: 32.5 kB / 384.2 MB, free: 8.043 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009957/0.2967, allocations: 0.5093 MB / 384.8 MB, free: 7.859 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.2967, allocations: 0 / 384.8 MB, free: 7.859 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.41e-05/0.2968, allocations: 20.12 kB / 384.8 MB, free: 7.859 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.2968, allocations: 13.47 kB / 384.8 MB, free: 7.859 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008953/0.2977, allocations: 357.9 kB / 385.1 MB, free: 7.805 MB / 318.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.002175/0.2999, allocations: 1.357 MB / 386.5 MB, free: 6.949 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008872/0.3008, allocations: 453.5 kB / 386.9 MB, free: 6.715 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004346/0.3012, allocations: 194.9 kB / 387.1 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.101e-05/0.3013, allocations: 5.391 kB / 387.1 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.3013, allocations: 43.03 kB / 387.2 MB, free: 6.594 MB / 318.1 MB Notification: Performance of pre-optimization done (n=37): time 1.773e-06/0.3013, allocations: 1.875 kB / 387.2 MB, free: 6.594 MB / 318.1 MB Notification: Performance of matching and sorting (n=37): time 0.001741/0.3031, allocations: 0.7412 MB / 387.9 MB, free: 6.172 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/0.3032, allocations: 447.4 kB / 388.4 MB, free: 5.637 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006288/0.3038, allocations: 477.7 kB / 388.8 MB, free: 5.406 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.01e-05/0.3039, allocations: 40.64 kB / 388.9 MB, free: 5.363 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.3041, allocations: 247.8 kB / 389.1 MB, free: 5.164 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.3042, allocations: 140.1 kB / 389.2 MB, free: 5.055 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.3043, allocations: 81.61 kB / 389.3 MB, free: 5.008 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.3044, allocations: 357.5 kB / 389.7 MB, free: 4.676 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004132/0.3048, allocations: 142.9 kB / 389.8 MB, free: 4.633 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005306/0.3054, allocations: 293.8 kB / 390.1 MB, free: 4.422 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008055/0.3062, allocations: 346.8 kB / 390.4 MB, free: 4.258 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3062, allocations: 0 / 390.4 MB, free: 4.258 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00108/0.3073, allocations: 0.4987 MB / 390.9 MB, free: 4.012 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.347e-05/0.3074, allocations: 32.12 kB / 391 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.3074, allocations: 1.312 kB / 391 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001895/0.3076, allocations: 53.61 kB / 391 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004327/0.308, allocations: 89.19 kB / 391.1 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/0.3099, allocations: 2.963 MB / 394.1 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005587/0.3105, allocations: 53.97 kB / 394.1 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.278e-05/0.3106, allocations: 9.422 kB / 394.1 MB, free: 1 MB / 318.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.0002404/0.3108, allocations: 177.8 kB / 394.3 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.909e-05/0.3109, allocations: 55.36 kB / 394.4 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.311, allocations: 65.53 kB / 394.4 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.311, allocations: 7.156 kB / 394.4 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.311, allocations: 1.406 kB / 394.4 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00093/0.312, allocations: 0.7444 MB / 395.2 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001917/0.3139, allocations: 1.051 MB / 396.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3139, allocations: 1.344 kB / 396.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004686/0.3144, allocations: 88.92 kB / 396.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.3144, allocations: 6.469 kB / 396.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/0.3144, allocations: 10.25 kB / 396.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.3145, allocations: 2.312 kB / 396.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3145, allocations: 0 / 396.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/0.3161, allocations: 0.6741 MB / 397 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003001/0.3164, allocations: 173.2 kB / 397.2 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.086e-05/0.3165, allocations: 7.812 kB / 397.2 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004104/0.3169, allocations: 30.92 kB / 397.2 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.317, allocations: 27.88 kB / 397.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/0.3171, allocations: 7.25 kB / 397.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006608/0.3177, allocations: 340.7 kB / 397.6 MB, free: 14.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3178, allocations: 4 kB / 397.6 MB, free: 14.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005939/0.3184, allocations: 148.9 kB / 397.7 MB, free: 14.79 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.00195/0.3203, allocations: 1.226 MB / 399 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001574/0.3219, allocations: 0.6513 MB / 399.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.3219, allocations: 1.062 kB / 399.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004579/0.3224, allocations: 191.5 kB / 399.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008407/0.3232, allocations: 144.2 kB / 399.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007867/0.3311, allocations: 4.685 MB / 404.6 MB, free: 10.78 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000566/0.3317, allocations: 0.8349 MB / 405.5 MB, free: 10.08 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003756/0.3321, allocations: 64.94 kB / 405.5 MB, free: 10.06 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000307/0.3324, allocations: 182 kB / 405.7 MB, free: 9.93 MB / 334.1 MB Notification: Performance of SimCode: time 8.71e-07/0.3324, allocations: 0 / 405.7 MB, free: 9.93 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05163/0.3841, allocations: 14 MB / 419.7 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/12.96, allocations: 8.938 kB / 419.7 MB, free: 0.5898 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches