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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001927/0.001927, allocations: 107.6 kB / 21.18 MB, free: 0.6094 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002847/0.002847, allocations: 215 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.539/1.539, allocations: 207.7 MB / 235.3 MB, free: 9.82 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 58.58 kB / 347.2 MB, free: 9.914 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2879, allocations: 49.16 MB / 396.3 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004603/0.2925, allocations: 3.414 MB / 399.8 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001739/0.2942, allocations: 0.9951 MB / 400.7 MB, free: 5.902 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002719/0.2945, allocations: 9.312 kB / 400.8 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003179/0.2948, allocations: 117.3 kB / 400.9 MB, free: 5.828 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003984/0.2952, allocations: 203.4 kB / 401.1 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.2955, allocations: 140.1 kB / 401.2 MB, free: 5.605 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006932/0.2962, allocations: 0.7044 MB / 401.9 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000243/0.2964, allocations: 136.6 kB / 402 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002826/0.2967, allocations: 275.9 kB / 402.3 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003183/0.297, allocations: 259.1 kB / 402.6 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.537e-05/0.2971, allocations: 59.5 kB / 402.6 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.2972, allocations: 60.25 kB / 402.7 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.2974, allocations: 136.5 kB / 402.8 MB, free: 4.832 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002397/0.2976, allocations: 269 kB / 403.1 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000737/0.2983, allocations: 0.7241 MB / 403.8 MB, free: 4.402 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.2983, allocations: 5.984 kB / 403.8 MB, free: 4.398 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2983, allocations: 0 / 403.8 MB, free: 4.398 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.2983, allocations: 0 / 403.8 MB, free: 4.398 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.001484/0.2998, allocations: 0.8549 MB / 404.7 MB, free: 3.793 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.2999, allocations: 18.48 kB / 404.7 MB, free: 3.785 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001115/0.3, allocations: 82.03 kB / 404.8 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.3001, allocations: 71.88 kB / 404.8 MB, free: 3.684 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007262/0.3008, allocations: 386.6 kB / 405.2 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.3009, allocations: 113.1 kB / 405.3 MB, free: 3.305 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.14e-05/0.301, allocations: 43.23 kB / 405.4 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008843/0.3019, allocations: 0.8888 MB / 406.3 MB, free: 2.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.3019, allocations: 1.219 kB / 406.3 MB, free: 2.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.842e-05/0.302, allocations: 17.14 kB / 406.3 MB, free: 2.488 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.302, allocations: 8.188 kB / 406.3 MB, free: 2.488 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000859/0.3028, allocations: 360.3 kB / 406.6 MB, free: 2.379 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.001913/0.3047, allocations: 1.068 MB / 407.7 MB, free: 1.734 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007909/0.3055, allocations: 353.4 kB / 408 MB, free: 1.602 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003728/0.3059, allocations: 177 kB / 408.2 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.598e-05/0.3059, allocations: 8.922 kB / 408.2 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.306, allocations: 40.72 kB / 408.3 MB, free: 1.488 MB / 318.1 MB Notification: Performance of pre-optimization done (n=37): time 2.154e-06/0.306, allocations: 0 / 408.3 MB, free: 1.488 MB / 318.1 MB Notification: Performance of matching and sorting (n=37): time 0.001592/0.3075, allocations: 0.5988 MB / 408.9 MB, free: 1.242 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/0.3077, allocations: 449 kB / 409.3 MB, free: 0.707 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000609/0.3083, allocations: 477.7 kB / 409.8 MB, free: 488 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.219e-05/0.3083, allocations: 37.39 kB / 409.8 MB, free: 448 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.3086, allocations: 252 kB / 410.1 MB, free: 240 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.3087, allocations: 132.3 kB / 410.2 MB, free: 132 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.3088, allocations: 81.75 kB / 410.3 MB, free: 84 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002469/0.3091, allocations: 358.4 kB / 410.6 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004398/0.3095, allocations: 166.8 kB / 410.8 MB, free: 15.67 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008784/0.3104, allocations: 0.6905 MB / 411.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008566/0.3112, allocations: 346.8 kB / 411.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3112, allocations: 0 / 411.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001179/0.3124, allocations: 0.5193 MB / 412.3 MB, free: 14.53 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.886e-05/0.3125, allocations: 36.83 kB / 412.4 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.3125, allocations: 1.219 kB / 412.4 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001608/0.3126, allocations: 50 kB / 412.4 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004048/0.313, allocations: 91.81 kB / 412.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002651/0.3157, allocations: 2.747 MB / 415.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005594/0.3162, allocations: 57.5 kB / 415.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-05/0.3163, allocations: 17.09 kB / 415.3 MB, free: 11.65 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.0003217/0.3166, allocations: 168.9 kB / 415.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.3167, allocations: 55.89 kB / 415.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/0.3168, allocations: 62.58 kB / 415.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.3168, allocations: 5.344 kB / 415.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.3168, allocations: 3.938 kB / 415.6 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001077/0.3179, allocations: 0.7379 MB / 416.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001781/0.3197, allocations: 0.9324 MB / 417.3 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.3197, allocations: 7.938 kB / 417.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004392/0.3201, allocations: 91.86 kB / 417.4 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.3201, allocations: 2.031 kB / 417.4 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/0.3202, allocations: 5.5 kB / 417.4 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.3202, allocations: 9.922 kB / 417.4 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3202, allocations: 0 / 417.4 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/0.3215, allocations: 0.6723 MB / 418.1 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002386/0.3217, allocations: 94.67 kB / 418.2 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.907e-05/0.3218, allocations: 8.219 kB / 418.2 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000368/0.3222, allocations: 30.28 kB / 418.2 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.145e-05/0.3223, allocations: 29.14 kB / 418.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.3223, allocations: 9.766 kB / 418.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00043/0.3227, allocations: 345 kB / 418.6 MB, free: 9.285 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3227, allocations: 1.031 kB / 418.6 MB, free: 9.285 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004918/0.3232, allocations: 144 kB / 418.7 MB, free: 9.262 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.001674/0.3249, allocations: 1.224 MB / 419.9 MB, free: 8.32 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001318/0.3262, allocations: 0.6591 MB / 420.6 MB, free: 7.828 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.3262, allocations: 1.156 kB / 420.6 MB, free: 7.828 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004004/0.3266, allocations: 176.2 kB / 420.8 MB, free: 7.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007002/0.3273, allocations: 145.3 kB / 420.9 MB, free: 7.668 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007369/0.3347, allocations: 4.779 MB / 425.7 MB, free: 4.512 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.3349, allocations: 234.2 kB / 425.9 MB, free: 4.258 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003275/0.3352, allocations: 72.52 kB / 426 MB, free: 4.184 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000285/0.3355, allocations: 183.4 kB / 426.2 MB, free: 4.004 MB / 334.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3355, allocations: 0 / 426.2 MB, free: 4.004 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05161/0.3871, allocations: 15.75 MB / 441.9 MB, free: 4.168 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/13.41, allocations: 4.062 kB / 441.9 MB, free: 4.164 MB / 350.1 MB " [Timeout remaining time 646] (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) [Timeout 52.5] 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) [Timeout 660] "Error: Could not read variable heatCapacitor.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv failed! Error: Could not read variable pipe.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv. Warning: Get data of variable pipe.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.07502348907292]